ILOG CPLEX .NET Reference Manual

Cplex.IncumbentCallback.GetValues Method (INumVar[], Int32, Int32)

Returns the values of num consecutive variables, starting from the index specified by start, in the array var of variables in the potential incumbent solution.

protected virtual double[] GetValues(
   INumVar[] var,
   int start,
   int num
);

Parameters

var
The array containing the variables whose proposed incumbent values are being queried.
start
The index of the first variable in the array var for which the proposed incumbent value is requested.
num
The number of consecutive variables in the array var for which the proposed incumbent value is requested.

Return Value

An array containing the values of the proposed incumbent for the specified variables in the array var. If the returned array is val, val[j] is the proposed incumbent value for variable var[j+start].

See Also

Cplex.IncumbentCallback Class | ILOG.CPLEX Namespace | Cplex.IncumbentCallback.GetValues Overload List