XPRS_msp_findsolbyname
XPRS_msp_findsolbyname |
Purpose
Finds the id of a solution given the solution's name.
Synopsis
int XPRS_CC XPRS_msp_findsolbyname(XPRSmipsolpool msp, const char *sSolutionName, int *const iSolutionId)
Arguments
msp
|
The current MIP solution pool.
|
sSolutionName
|
A null terminated string containing the name of the solution to find.
|
iSolutionId
|
Pointer to the integer where the solution id will be returned. A value of 0 will be returned if the solution name does not exist.
|
Further information
Names of solutions enter the MIP solution pool via functions such as
XPRS_msp_loadsol,
XPRS_msp_setsolname and
XPRS_msp_readslxsol. Solutions entering the MIP solution pool directly from attached problems are given automatic names.
Related topics