ILOG CPLEX .NET Reference Manual

IMPModeler.BoolVarArray Method (ColumnArray)

Creates and returns an array of Boolean (or binary) modeling variables for column-wise modeling.

IIntVar[] BoolVarArray(
   ColumnArray cols
);

Parameters

cols
The ColumnArray object defining where to install the new variables.

Return Value

The array of new Boolean modeling variables

Remarks

This method creates new modeling variables of type NumVarType.Bool and returns them in an array. The number of new variables is determined by the size of the ColumnArray argument cols. The new variables are installed in existing modeling objects as defined by the cols argument.

See Also

IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.BoolVarArray Overload List