Purpose
Initialize a new problem.
Synopsis
XPRBprob XPRBnewprob(const char *probname);
Argument
probname
|
The problem name. May be
NULL if not required.
|
Return value
Reference to a problem definition in BCL if function executed successfully,
NULL otherwise.
Example
This example begins the definition of a new problem with the name
example2.
XPRBprob expl2;
expl2 = XPRBnewprob("example2");
Further information
1. This function needs to be called to create and initialize a new problem. This function initializes BCL and also Xpress Optimizer; it is
not necessary to call
XPRSinit from the user's program. If the initialization does not find a valid license, BCL does not initialize. It is possible to run BCL with a student license; this mode implies restrictions to the available functionality and to the accepted problem size.
2. The above remarks on initialization of BCL through this function apply when using BCL in C, initialization for other interfaces may differ—please refer to the specific interface documentation.
3. The name given to a problem determines the name and the location of the working files of Xpress Optimizer. At the creation of a problem any existing working files of the same name are deleted. When solving several instances of a problem simultaneously the user must make sure to assign a different name to every instance. If no problem name is indicated, BCL creates a unique name including the full path to the temporary directory (Xpress Optimizer creates its working files in the temporary directory).
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.