ILOG CPLEX .NET Reference Manual

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

Returns branch directions for num consecutive variables, starting from the index specified by var[start].

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

Parameters

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

Return Value

The branch directions for the specified variables. If dir is the array returned by this method, dir[j] is the branch direction of variable var[j+start].

Remarks

If no branch direction has been assigned to a variable, Cplex.BranchDirection.Global will be returned for it.

See Also

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