rLSgetNextBestMIPSol: Generate the next best (in terms of objective value)
solution for the current mixed integer model.
Description
R interface function for LINDO API function LSgetNextBestMIPSol
. For more information,
please refer to LINDO API User Manual.
Usage
rLSgetNextBestMIPSol(model)
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
- pnStatus
- The status on the new, next-best solution.
Details
Repeated calls to rLSgetNextBestMIPSol
will allow one to generate the so-called
K-Best solutions to mixed-integer model. This is useful for revealing alternate optima.
References
LINDO SYSTEMS home page at www.lindo.com