rLSgetSolution: Get the solution specified by the second argument.

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
  rLSgetSolution(model,nWhich)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

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


rLindo documentation built on May 1, 2019, 10:11 p.m.