Learn R Programming

rLindo (version 8.0.1)

rLSgetReducedCosts: Return the reduced cost of all variables for a given model.

Description

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

Usage

rLSgetReducedCosts(model)

Arguments

model
A LINDO API model object, returned by rLScreateModel.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
padReducedCost
A double array containing the reduced cost.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSgetPrimalSolution