XPRS_msp_getintattribprobsol
XPRS_msp_getintattribprobsol |
Purpose
Provides read access to the values of integer attributes associated with the MIP solution pool with respect to the given solution stored in the MIP solution pool and the given problem. For example, the count of column bound infeasibilities for solutions of the problem.
Synopsis
int XPRS_CC XPRS_msp_getdblattribprobsol(MipSolPool msp, XPRSprob prob_to_rank_against, const int iSolutionId, int * const iSolutionIdStatus, const int iAttribId, double * const Dst)
Arguments
|
msp
|
The current MIP solution pool.
|
||||||
|
prob_context
|
Problem for which the attribute
iAttribId is required to be evaluated using solution
iSolutionId.
|
||||||
|
iSolutionId
|
The id of the solution for which the attribute
iAttribId is evaluated with respect to the problem
prob_context.
|
||||||
|
iSolutionIdStatus
|
Pointer to an
int where the status of the
iSolutionId will be returned. The returned value is one of:
|
||||||
|
iAttribId
|
Id of attribute whose value is to be returned. A full list of all available attributes may be found in Chapter
MSP Attributes, or from the list in the
xprs.h header file.
|
||||||
|
Dst
|
Pointer to an integer where the value of the attribute will be returned.
|
Further information
1. The user will obtain the solution id iSolutionId from interaction with the MIP solution pool via functions such as
XPRS_msp_findsolbyname,
XPRS_msp_getdblattribprobextreme,
XPRS_msp_getintattribprobextreme and
XPRS_msp_getsollist.
2. The attributes accessed by this function are the same as those available through
XPRS_msp_getintattribprobextreme. That is, integer attributes relating to a problem and solution pair, e.g., the count of column bound infeasibilities for solutions of the problem.
Related topics
XPRS_msp_getdblattribprobsol,
XPRS_msp_getintattribprobextreme,
XPRS_msp_findsolbyname,
XPRS_msp_getdblattribprobextreme,
XPRS_msp_getsollist.
© 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.
