Linear Program.Add Binary Variable Method
Definition
Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Add | Adds a binary variable to the collection. |
Add | Adds a binary variable to the collection. |
AddBinaryVariable(String, Double)
Adds a binary variable to the collection.
public LinearProgramVariable AddBinaryVariable(
string name,
double cost
)
Parameters
Return Value
LinearProgramVariableThe new DecisionVariable.
Exceptions
Argument | The linear program already contains a variable named name. |