rLSloadBasis: Provide a starting basis for the simplex method.

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
rLSloadBasis(model,panCstatus,panRstatus)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

panCstatus

An integer array containing the status of each column in the given model. Set each variable's element to 0, -1, -2, or -3 for Basic, Nonbasic at lower bound, Nonbasic at upper bound, or Free and nonbasic at zero value, respectively.

panRstatus

An integer array containing the status of each row in the given model. Set each row's element to 0 or -1 if row's associated slack variable is basic or row's associated slack variable is nonbasic at zero, respectively

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com


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