Initializing help system before first use

XPRS_msp_getsolname

XPRS_msp_getsolname


Purpose
Gets the name of a solution stored in a MIP solution pool.
Synopsis
int XPRS_CC XPRS_msp_getsolname(XPRSmipsolpool msp, const int iSolutionId, char *sname, const int iStringBufferBytes, int * const iBytesInInternalString, int * const iSolutionIdStatus)
Arguments
msp 
The current MIP solution pool.
iSolutionId 
Id of the solution whose name is to be retrieved.
sname 
Pointer to a string where the name of the solution (plus null terminator) will be returned. This argument can be passed with NULL.
iStringBufferBytes 
Maximum number of bytes to be returned in sname.
iBytesInInternalString 
Pointer to the integer where the number of bytes required storing the name (including null terminator) will be returned.
iSolutionIdStatus 
Pointer to an int where the status of the iSolutionId will be returned. The returned value is one of:
-2 
Solution id does not exist;
-1 
Solution with the given id is already deleted;
Solution id was for an active solution.
Further information
1. Names of solutions stored in a MIP solution pool are unique.
2. 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.
3. 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

© 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.