ILOG CPLEX .NET Reference Manual

Cplex.Goal.GetIncumbentValues Method (INumVar[], Int32, Int32)

Returns the incumbent solution values for a set of variables.

protected double[] GetIncumbentValues(
   INumVar[] vars,
   int start,
   int num
);

Parameters

vars
An array containing the variables whose incumbent solution values are being queried.
start
The index of the first variable in vars for which to return the incumbent solution value.
num
The number of variables in vars for which to return the incumbent solution values.

Return Value

The incumbent solution values for variables listed in var. The solution for variable var[j+start] is returned as element j of the returned array.

See Also

Cplex.Goal Class | ILOG.CPLEX Namespace | Cplex.Goal.GetIncumbentValues Overload List