Returns the linear objective function coefficient for the
specified variable in the model being solved.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
protected double GetObjCoef( INumVar var ) |
| Visual Basic |
|---|
Protected Function GetObjCoef ( _ var As INumVar _ ) As Double |
Parameters
- var
- Type: ILOG.Concert..::..INumVar
The variable whose linear objective coefficient is being queried.