Initializing help system before first use

# problem.loadModelCuts

Purpose
Specifies that a set of rows in the matrix will be treated as model cuts.
Topic areas
Data Input, Cuts, Optimizer
Synopsis
`problem.loadModelCuts(rowind)`
Argument

rowind: list[constraint] | An array of row indices to be treated as cuts.

Error value

268 | Cannot perform operation on presolved matrix.

Further information
1. During presolve the model cuts are removed from the matrix and added to an internal cut pool. During the tree 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.
3. This function cannot be called while the current problem is being solved or when it is in an interrupted state. Use problem.postSolve to restore the problem to a non-solving state.
4. Argument rowind may contain either xpress.constraint objects or integer indices.
Related topics
the Optimizer Reference Manual.
Parent Topic Xpress problem object methods

© 2001-2026 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.