Learn R Programming

rLindo (version 8.0.1)

rLSoptimize: Optimize a continuous model by a given method.

Description

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

Usage

rLSoptimize(model,nMethod)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
nMethod
A parameter indicating the solver to be used in optimizing the problem. Current options for this parameter are:
  • LS_METHOD_FREE
  • LS_METHOD_PSIMPLEX
  • LS_METHOD_DSIMPLEX
  • LS_METHOD_BARRIER
  • LS_METHOD_NLP

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
pnStatus
The status of the optimization.

References

LINDO SYSTEMS home page at www.lindo.com