Purpose
Release system
resources used for storing solution information.
Synopsis
int XPRBresetprob(XPRBprob prob);
Argument
prob
|
Reference to a problem.
|
Return value
0 if function executed successfully, 1 otherwise.
Example
The following resets and frees resources used by BCL and Xpress-Optimizer for storing solution information:
XPRBprob expl2;
expl2 = XPRBnewprob(NULL):
...
XPRBsolve(expl2, "");
...
XPRBresetprob(expl2);
Further information
This function deletes any solution information stored in BCL; it also deletes the corresponding Xpress-Optimizer problem and
removes any auxiliary files that may have been created by optimization runs. It also resets the Optimizer control parameters
for spare matrix elements (
EXTRACOLS,
EXTRAROWS, and
EXTRAELEMS) to their default values. The BCL problem definition itself remains. This function may be used to free up memory if the solution
information is not required any longer but the problem definition is to be kept for later (re)use. To completely delete a
problem the function
XPRBdelprob needs to be used.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.