ILOG CPLEX .NET Reference Manual

Cplex.GetDirections Method (INumVar[])

Returns the branch directions for an array of variables.

public virtual BranchDirection[] GetDirections(
   INumVar[] var
);

Parameters

var
An array of variables whose branch directions are being queried.

Return Value

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

Remarks

This method returns the branch direction assigned by the method Cplex.SetDirections to each variable in the array. If no branch direction has been assigned to a variable, Cplex.BranchDirection.Global is returned.

See Also

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