Learn R Programming

rLindo (version 8.0.1)

rLSgetNodePrimalSolution: Return the primal solution for the specified node.

Description

R interface function for LINDO API function LSgetNodePrimalSolution. For more information, please refer to LINDO API User Manual.

Usage

rLSgetNodePrimalSolution(model,jScenario,iStage)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
jScenario
An integer specifying the scenario index.
iStage
An integer specifying the stage index.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
padX
A double array containing the specified node's primal solution.

References

LINDO SYSTEMS home page at www.lindo.com