Initializing help system before first use

XSLPdestroyprob

XSLPdestroyprob


Purpose
Delete an SLP problem and release all the associated memory
Synopsis
int XPRS_CC XSLPdestroyprob(XSLPprob Prob);
Argument
Prob 
The SLP problem.
Example
The following example creates an SLP problem and then destroys it together with the underlying optimizer problem.
XSLPprob nProb;
XPRSprob xProb;

XPRScreateprob(&xProb);
XSLPcreateprob(&nProb, &xProb);
...
XSLPdestroyprob(nProb);
XPRSdestroyprob(xProb);

Further information
When you have finished with the SLP problem, it should be "destroyed" so that the memory used by the problem can be released. Note that this does not destroy the underlying optimizer problem, so a call to XPRSdestroyprob should follow XSLPdestroyprob as and when you have finished with the underlying optimizer problem.
Related topics

© 2001-2019 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.