ILOG CPLEX .NET Reference Manual

Cplex.GetPriorities Method (INumVar[], Int32, Int32)

Returns branch priorities for num consecutive variables, starting from the index specified by start.

public virtual int[] GetPriorities(
   INumVar[] var,
   int start,
   int num
);

Parameters

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

Return Value

The branch priorities for the specified variables. If pri is the array returned by this method, pri[j] is the branch priority of variable var[j+start]. A value of 0 indicates the Cplex default.

See Also

Cplex Class | ILOG.CPLEX Namespace | Cplex.GetPriorities Overload List