XPRSloadbranchdirs
XPRSloadbranchdirs |
Purpose
Loads directives into the current problem to specify which global entities the Optimizer should continue to branch on when a node solution is global feasible.
Synopsis
int XPRS_CC XPRSloadbranchdirs(XPRSprob prob, int ndirs, const int mcols[], const int mbranch[]);
Arguments
prob
|
The current problem.
|
ndirs
|
Number of directives.
|
mcols
|
Integer array of length
ndirs containing the column numbers. A negative value indicates a set number (the first set being -1, the second -2, and so on).
|
mbranch
|
Integer array of length
ndirs containing either 0 or 1 for the entities given in
mcols. Entities for which mbranch is set to 1 will be branched on until fixed before a global feasible solution is returned. If
mbranch is NULL, the branching directive will be set for all entities in
mcols.
|
Related topics