XPRS_msp_setsolname
| XPRS_msp_setsolname | 
  Purpose
 
 
  Changes the name of a solution stored in the MIP solution pool.
 
 
  Synopsis
 
  int XPRS_CC XPRS_msp_setsolname(XPRSmipsolpool msp, const int iSolutionId, const char *sNewSolutionBaseName, int * const gbNameModifiedForUniqueness, int * const iSolutionIdStatus) 
 
  Arguments
 
 | 
     msp 
     | 
     The current MIP solution pool.
     | ||||||
| 
     iSolutionId 
     | 
     Id of the solution whose name is to be changed.
     | ||||||
| 
     sNewSolutionBaseName 
     | 
     The new name to use to identify the solution. If the given name already exists and is used by another solution then the name to be stored will have characters appended to ensure the resulting name is unique among the stored solutions. If
     sNewSolutionBaseName is passed as NULL then a unique name will be generated automatically for the solution.
     | ||||||
| 
     bNameModifiedForUniqueness 
     | 
     Pointer to an integer returning 1 if it was necessary for the given solution name
     sNewSolutionBaseName to be modified to maintain uniqueness of solution names; 0 otherwise.
     | ||||||
| 
     iSolutionIdStatus 
     | 
     Pointer to an
     int where the status of the
     iSolutionId will be returned. The returned value is one of:
     
 | 
  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_getsolname,
 XPRS_msp_findsolbyname,
 XPRS_msp_getdblattribprobextreme,
 XPRS_msp_getintattribprobextreme,
 XPRS_msp_getsollist.
 
 
