XPRS_msp_getintattribsol
XPRS_msp_getintattribsol |
Purpose
Provides read access to the values of integer attributes associated with a solution stored in the MIP solution pool. For example, the number of columns in the solution.
Synopsis
int XPRS_CC XPRS_msp_getintattribsol(XPRSmipsolpool msp, const int iSolutionId, int * const iSolutionIdStatus, const int iAttribId, int * const Dst)
Arguments
msp
|
The current MIP solution pool.
|
||||||
iSolutionId
|
The id of the solution for which the attribute is to be returned.
|
||||||
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
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.
Related topics
XPRS_msp_getdblattribsol,
XPRS_msp_findsolbyname,
XPRS_msp_getdblattribprobextreme,
XPRS_msp_getintattribprobextreme,
XPRS_msp_getsollist.