Queries the branches Cplex
would create at the current node unless overridden by the invoking goal.
getNbranches
of arrays, where the variables the bounds of which would be changed for each branch will be stored. Upon completion vars[i]
will contain an array with the list of variables used for branch i
. getNbranches
of arrays where the new bounds for the variables Cplex
would branch on each branch will be stored. Upon completion bounds[i]
will contain an array with the list of new bounds used for branch i
. One bound of variable vars[i][j]
will be set to bounds[i][j]
for all possible pairs i, j
. getNbranches
of arrays where the branch directions for each branch will be stored. Upon completion of this method dirs[i]
will contain an array with the list of branch directions used for branch 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.Goal Class | ILOG.CPLEX Namespace | Cplex.Goal.GetBranches Overload List