Initializing help system before first use

XPRBresetprob

XPRBresetprob


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):
 ...
XPRBlpoptimize(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

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