ILOG CPLEX .NET Reference Manual

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

Returns the solution values for a set of variables at the current node.

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

Parameters

var
An array containing the variables whose current solution values are being queried.
start
The index of the first variable in var for which to query the current solution values.
num
The number of consecutive variables in var for which to query the current solution values.

Return Value

An array of double values containing the solution values of the specified variables at the current node. If the returned array is called x, x[j] is the current solution value for variable var[j+start].

See Also

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