problem.loadsecurevecs
problem.loadsecurevecs |
Purpose
Allows the user to mark rows and columns in order to prevent the presolve removing these rows and columns from the problem.
Synopsis
problem.loadsecurevecs(mrow, mcol)
Arguments
mrow
|
Array containing the rows to be marked. May be
None if not required.
|
mcol
|
Array containing the columns to be marked. May be
None if not required.
|
Example
This sets the first six rows and the first four columns to not be removed during presolve.
p.read("myprob", "") p.loadsecurevecs(mrow=[0,1,2,3,4,5], mcol=[0,1,2,3]) p.mipoptimize("")