Creates a new Boolean (or binary) modeling variable, with
the specified name, for column-wise modeling.
Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
IIntVar BoolVar( Column column, string name ) |
| Visual Basic |
|---|
Function BoolVar ( _ column As Column, _ name As String _ ) As IIntVar |
Parameters
- column
- Type: ILOG.Concert..::..Column
The column object defining where to install the new variable.
- name
- Type: System..::..String
The name of the new modeling variable.
Return Value
The new Boolean modeling variable.
Remarks
This method returns an object representing a new modeling variable of type NumVarType.Bool with the specified name. The newly created variable is then installed in existing modeling objects as defined by the Column argument column.