Initializing help system before first use

XPRS_mse_minim (MSE_MINIM)

XPRS_mse_minim

MSE_MINIM


Purpose
One of three routines to run the enumeration. This routine starts the enumeration run on the problem by calling XPRSminim.
Synopsis
int XPRS_CC XPRS_mse_minim(XPRSmipsolenum mse, XPRSprob prob, XPRSmipsolpool msp, int (XPRS_CC * f_mse_handler)(XPRSmipsolenum mse, XPRSprob prob, XPRSmipsolpool msp, void *ctx, int * const nMaxSols, const double * const x, const int nCols, const double dMipObject, double * const dModifiedObject, int * const bRejectSoln, int * const bUpdateMipAbsCutOffOnCurrentSet), void * p, int * nMaxSols)
Arguments
mse 
The current MIP solution enumerator.
prob 
The problem used to enumerate solutions.
msp 
The MIP solution pool used to store the solutions found during enumeration.
f_mse_handler 
A callback function to handle the event that a MIP feasible solution is found in the enumeration.
The user-defined object to be passed to the callback function f_mse_handler.
nMaxSols 
A pointer to an integer to be passed to the callback function f_mse_handler (and used only by the callback function) that is intended to store the maximum number of solutions the user is prepared to capture during the enumeration.
Further information
1. Although the callback function f_mse_handler may be user-defined a simple version ( XPRS_mse_defaulthandler) is provided in the FICO Xpress Optimizer that can be used to manage common strategies for keeping a 'good' set of solutions found during enumeration and controlling the enumeration run e.g., n-best solutions.
2. Any MIP feasible solutions to prob stored in the MIP solution pool prior to the enumeration run are passed through the callback f_mse_handler as if they were found during the MIP search on the prob. Note that new versions of these solutions are created and the original versions are deleted from the MIP solution pool.
3. The integer pointer nMaxSols is used only by the callback function f_mse_handler.
Related topics