Initializing help system before first use

# 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:
-2 | Solution id does not exist;
-1 | Solution with the given id is already deleted;
0 | Solution id was for an active solution.

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.
Parent Topic MSP Functions

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