XPRScreateprob
XPRScreateprob |
Purpose
Synopsis
int XPRS_CC XPRScreateprob(XPRSprob *prob);
Argument
prob
|
Pointer to a variable holding the new problem.
|
Example
The following creates a problem which will contain
myprob:
XPRSprob prob; XPRSinit(NULL); XPRScreateprob(&prob); XPRSreadprob(prob,"myprob","");
Further information
2. Any number of problems may be created in this way, depending on your license details. All problems should be removed using
XPRSdestroyprob once you have finished working with them.
3. If
XPRScreateprob cannot complete successfully, a nonzero value is returned and
*prob is set to NULL (as a consequence, it is not possible to retrieve further error information using e.g.
XPRSgetlasterror).
Related topics