ILOG CPLEX .NET Reference Manual

Cplex.MIPCallback.GetDirection Method 

Returns the branch direction for a variable.

protected virtual BranchDirection GetDirection(
   INumVar var
);

Parameters

var
The variable whose branch direction is being queried.

Return Value

The branch direction for variable var.

Remarks

This method returns the branch direction assigned to the variable var by the method Cplex.SetDirection. If no branch direction has been assigned to the variable, Cplex.BranchDirection.Global is returned.

See Also

Cplex.MIPCallback Class | ILOG.CPLEX Namespace