XPRSdestroyprob


Purpose
Removes a given problem and frees any memory associated with it following manipulation and optimization.
Synopsis
int XPRS_CC XPRSdestroyprob(XPRSprob prob);
Argument
prob 
The problem to be destroyed.
Example
The following creates, loads and solves a problem called myprob, before subsequently freeing any resources allocated to it:
XPRScreateprob(&prob);
XPRSreadprob(prob,"myprob","");
XPRSmaxim(prob,"");
XPRSdestroyprob(prob);
Further information
After work is finished, all problems must be destroyed. If a NULL problem pointer is passed to XPRSdestroyprob, no error will result.
Related topics
XPRScreateprob, XPRSfree, XPRSinit.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.