Initializing help system before first use

XPRSloadmodelcuts

XPRSloadmodelcuts


Purpose
Specifies that a set of rows in the matrix will be treated as model cuts.
Synopsis
int XPRS_CC XPRSloadmodelcuts(XPRSprob prob, int nmod, const int mrows[]);
Arguments
prob 
The current problem.
nmod 
The number of model cuts.
mrows 
An array of row indices to be treated as cuts.
Error value
268 
Cannot perform operation on presolved matrix.
Example
This sets the first six matrix rows as model cuts in the global problem myprob.
int mrows[] = {0,1,2,3,4,5}
...
XPRSloadmodelcuts(prob,6,mrows);
XPRSmipoptimize(prob,"");
Further information
1. During presolve the model cuts are removed from the matrix and added to an internal cut pool. During the global search, the Optimizer will regularly check this cut pool for any violated model cuts and add those that cuts off a node LP solution.
2. The model cuts must be "true" model cuts, in the sense that they are redundant at the optimal MIP solution. The Optimizer does not guarantee to add all violated model cuts, so they must not be required to define the optimal MIP solution.
Related topics

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.