XPRScreateprob


Purpose
Sets up a new problem within the Optimizer.
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
1. XPRScreateprob must be called after XPRSinit and before using the other Optimizer routines.
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.
Related topics
XPRSdestroyprob, XPRScopyprob, XPRSinit.


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