Initializing help system before first use

XSLPcreateprob

XSLPcreateprob


Purpose
Create a new SLP problem
Synopsis
int XPRS_CC XSLPcreateprob(XSLPprob *Prob, XPRSprob *xProb);
Arguments
Prob 
The address of the SLP problem variable.
xProb 
The address of the underlying Optimizer Library problem variable.
Example
The following example creates an optimizer problem, and then a new Xpress NonLinear problem.
XSLPprob nProb;
XPRSprob xProb;

XPRScreateprob(&xProb);
XSLPcreateprob(&nProb, &xProb);
Further information

An Xpress NonLinear problem includes an underlying optimizer problem which is used to solve the successive linear approximations. The user is responsible for creating and destroying the underlying linear problem, and can also access it using the normal optimizer library functions. When an SLP problem is to be created, the underlying problem is created first, and the SLP problem is then created, knowing the address of the underlying problem.


Related topics