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
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.