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