Rdocumentation
powered by
Learn R Programming
rLindo (version 8.0.1)
rLSgetScenarioPrimalSolution: Return the primal solution for the specified scenario.
Description
R interface function for LINDO API function
LSgetScenarioPrimalSolution
. For more information, please refer to LINDO API User Manual.
Usage
rLSgetScenarioPrimalSolution(model,jScenario)
Arguments
model
A LINDO API model object, returned by
rLScreateModel
.
jScenario
An integer specifying the scenario index.
Value
An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
padX
A double array containing the scenario's primal solution.
pdObj
Objective value for the specified scenario.
References
LINDO SYSTEMS home page at www.lindo.com