Initializing help system before first use

XPRS_msp_delsol

XPRS_msp_delsol


Purpose
Deletes a solution from the pool.
Synopsis
int XPRS_CC XPRS_msp_delsol(XPRSmipsolpool msp, const int iSolutionId, int * const iSolutionIdStatus)
Arguments
msp 
The current MIP solution pool.
iSolutionId 
The id of the solution to be deleted.
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 which is deleted.
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