XPRSloaddelayedrows
XPRSloaddelayedrows |
Purpose
Specifies that a set of rows in the matrix will be treated as delayed rows during a global search. These are rows that must be satisfied for any integer solution, but will not be loaded into the active set of constraints until required.
Synopsis
int XPRS_CC XPRSloaddelayedrows(XPRSprob prob, int nrows, const int mrows[]);
Arguments
prob
|
The current problem.
|
nrows
|
The number of delayed rows.
|
mrows
|
An array of row indices to treat as delayed rows.
|
Example
This sets the first six matrix rows as delayed rows in the global problem
prob.
int mrows[] = {0,1,2,3,4,5} ... XPRSloaddelayedrows(prob,6,mrows); XPRSmipoptimize(prob,"");
Further information
Delayed rows must be set up before solving the problem. Any delayed rows will be removed from the matrix after presolve and added to a special pool. A delayed row will be added back into the active matrix only when such a row is violated by an integer solution found by the Optimizer.
Related topics