Queries the branches Cplex
would create at the current node if not overridden by the invoking callback.
getNbranches
of arrays. Upon completion, vars[i]
will contain the list of variables whose bounds will be changed in child i
of the current node. getNbranches
of arrays. Upon completion, bounds[i]
will contain the list of new bounds used for child i
. One bound of variable vars[i][j]
will be set to bounds[i][j]
for all possible pairs i, j
. getNbranches
of arrays. Upon completion of this method dirs[i] will contain the list of branch directions used for child i
. If dirs[i][j]
is Cplex.BranchDirection.Up
the lower bound of variable vars[i][j]
will be set to bounds[i][j]
for all possible pairs i, j
. Similarly, if dirs[i][j]
is Cplex.BranchDirection.Down
the upper bound of variable vars[i][j]
will be set to bounds[i][j]
for all possible pairs i, j
. An array of double values containing the node estimates for the branches.
The returned branch will be performed if the callback does not call the method makeBranch
or prune
.
Cplex.BranchCallback Class | ILOG.CPLEX Namespace | Cplex.BranchCallback.GetBranches Overload List