Initializing help system before first use

XSLPcreateprob

Purpose
Create a new SLP problem
Topic area
Synopsis
int XPRS_CC XSLPcreateprob(XSLPprob *p_prob, XPRSprob *p_xprob);
Arguments
p_prob 
The address of the SLP problem variable.
p_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

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.