XSLPpresolve
XSLPpresolve |
Purpose
Perform a nonlinear presolve on the problem
Synopsis
int XPRS_CC XSLPpresolve(XSLPprob Prob);
Argument
Prob
|
The current SLP problem.
|
Related controls
Integer
Bitmap containing nonlinear presolve options.
|
Example
The following example reads a problem from file, sets the presolve control, presolves the problem and then maximizes it.
XSLPreadprob(Prob, "Matrix", ""); XSLPsetintcontrol(Prob, XSLP_PRESOLVE, 1); XSLPpresolve(Prob); XSLPmaximize(Prob,"");
Further information
If bit 1 of XSLP_PRESOLVE is not set, no nonlinear presolve will be performed. Otherwise, the presolve will be performed in accordance with the bit settings.. XSLPpresolve is called automatically by XSLPconstruct, so there is no need to call it explicitly unless there is a requirement to interrupt the process between presolve and optimization. XSLPpresolve must be called before XSLPconstruct or any of the SLP optimization procedures.
.
Related topics