rLSgetSolution: Get the solution specified by the second argument.
Description
R interface function for LINDO API function LSgetSolution. For more information,
please refer to LINDO API User Manual.
Usage
rLSgetSolution(model,nWhich)
Arguments
nWhich
An integer parameter specifying the solution to be retrieved. Possible values are:
- LSSOL_BASIC_PRIMAL
- LSSOL_BASIC_DUAL
- LSSOL_BASIC_SLACK
- LSSOL_BASIC_REDCOST
- LSSOL_INTERIOR_PRIMAL
- LSSOL_INTERIOR_DUAL
- LSSOL_INTERIOR_SLACK
- LSSOL_INTERIOR_REDCOST
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
- padResult
- A double array containing the specified solution.
References
LINDO SYSTEMS home page at www.lindo.com