XSLPopt


Purpose
Maximize or minimize an SLP problem
Synopsis
int XPRS_CC XSLPopt(XSLPprob Prob, char *Flags);
Arguments
Prob 
The current SLP problem.
Flags 
These have the same meaning as for XPRSmaxim and XPRSminim.
Related Controls
Double
Determines the direction of optimization: +1 is for minimization, -1 is for maximization.

Integer
Bit map determining the SLP algorithm(s) used in the optimization.
Bit map determining the type of augmentation used to create the linearization.
Bit map determining the type of cascading (recalculation of SLP variable values) used during the SLP optimization.
Determines the amount of iteration logging information produced.
Bit map determining the type of nonlinear presolve used before the SLP optimization starts.

Example
The following example reads an SLP problem from file and then maximizes it using the primal simplex optimizer.
XSLPreadprob("Matrix","");
XSLPsetdblcontrol(Prob, XSLP_OBJSENSE, -1);
XSLPopt(Prob,"p");
Further information

XSLPopt is equivalent to XSLPmaxim (if XSLP_OBJSENSE = -1) or XSLPminim (if XSLP_OBJSENSE = +1).

If XSLPconstruct has not already been called, it will be called first, using the augmentation defined by the control variable XSLP_AUGMENTATION. If determining rows are provided, then cascading will be invoked in accordance with the setting of the control variable XSLP_CASCADE.


Related topics
XSLPconstruct, XSLPglobal, XSLPmaxim, XSLPminim, XSLPpresolve


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.