Problem Attributes
Topics covered in this chapter:
- Double problem attributes
- Integer problem attributes
- Reference (pointer) problem attributes
- String problem attributes
During the optimization process, various properties of the problem being solved are stored and made available to users of the Xpress NonLinear Libraries in the form of problem attributes. These can be accessed in much the same manner as the controls. Examples of problem attributes include the sizes of arrays, for which library users may need to allocate space before the arrays themselves are retrieved. A full list of the attributes available and their types may be found in this chapter.
Library users are provided with the following functions for obtaining the values of attributes:
XSLPgetintattrib | XSLPgetdblattrib |
XSLPgetptrattrib | XSLPgetstrattrib |
The attributes listed in this chapter are all prefixed with XSLP_. Most of them also exist within the Optimizer library with an NLP or SLP prefix, e.g., XPRS_NLPSOLSTATUS. It is possible to use the above functions with other attributes for the Xpress Optimizer (attributes prefixed with XPRS_). For details of the Optimizer attributes, see the Optimizer manual.
Example of the usage of the functions:
XSLPgetintattrib(Prob, XSLP_ITER, &nIter); printf("The number of SLP iterations is %d\n", nIter); XSLPgetdblattrib(Prob, XSLP_ERRORCOSTS, &Errors); printf("and the total error cost is %lg\n", Errors);
The following is a list of all the Xpress NonLinear attributes:
Index of the reserved "=" column
[ Problem Information] |
|
Number of variables with an exploration-type delta set up in the problem
[ Problem Information, SLP] |
|
Number of internal functions
[ Misc] |
|
SLP iteration count
[ Solution Process] |
|
Total number of SLP iterations in MISLP
[ MISLP] |
|
Number of nodes explored in MISLP.
[ MISLP] |
|
The underlying Optimizer MIP problem.
[ MISLP] |
|
Number of model columns in the problem
[ SLP] |
|
Number of model rows in the problem
[ SLP] |
|
Status of the mutlistart search
[ Multistart] |
|
The solution status of the problem.
[ Solution Process] |
|
Number of coefficients in the augmented problem that might change between SLP iterations
[ SLP] |
|
Number of nonlinear constraints in the problem
[ Problem Information] |
|
Objective function value excluding any penalty costs
[ Solution] |
|
Time spent in optimization
[ Solution Process] |
|
Number of model columns in the extended original problem
[ Problem Information] |
|
Number of model rows in the extended original problem
[ Problem Information] |
|
Number of SLP variables eliminated by XSLPpresolve
[ Presolve] |
|
Indicates if the problem is presolved
[ Presolve] |
|
Local primal integral of the solve
[ Misc] |
|
Number of variables with a minimum perturbation step set up in the problem
[ Problem Information, SLP] |
|
Indicates the type of solution returned by the solver.
[ Solution] |
|
Includes information of which Xpress solver has been used to solve the problem
[ Solution Process] |
|
Bitmap holding the problem convergence status
[ Solution Process] |
|
Status of the optimization process.
[ Solution Process] |
|
The total number of evaluation errors during the solve
[ Numerics] |
|
Number of user function instances
[ User Functions] |
|
Number of user functions
[ User Functions] |
|
Indicates whether numeric or analytic derivatives were used to create the linear approximations and solve the problem
[ Derivatives] |
|
Number of calls made to user functions
[ User Functions] |
|
Absolute validation index
[ Solution] |
|
Relative first order optimality validation index
[ Solution] |
|
Relative validation index
[ Solution] |
|
Net objective as calculated by validation
[ Solution] |
|
Feasiblity status of the current solution.
[ Solution] |
|
Date of creation of Xpress NonLinear
[ Misc] |
|
The underlying Optimizer problem
[ Misc] |
|
The Xpress NonLinear problem
[ Misc] |
|
Number of placeholder entries set to zero
[ SLP] |
|
Number of potentially zero placeholders left untouched
[ SLP] |
|
Number of potential zero placeholder entries
[ SLP] |
© 2001-2025 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.