rLSgetLPData: Retrieve the formulation data for a given linear or mixed...

Description Usage Arguments Value References See Also

View source: R/rLindo.R

Description

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

Usage

1
  rLSgetLPData(model)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

pnObjSense

An integer indicating whether the objective is to be maximized or minimized.

pdObjConst

A double precision constant to be added to the objective value.

padC

A double array containing the linear program's objective coefficients.

padB

A double array containing the constraint right-hand side coefficients.

pachConTypes

A character array containing the type of each constraint.

paiAcols

An integer array containing the index of the first nonzero in each column.

panAcols

An integer array containing the length of each column.

padAcoef

A double array containing the nonzero coefficients of the constraint matrix.

paiArows

An integer array containing the row indices of the nonzeros in the constraint matrix.

padL

A double array containing the lower bound of each variable.

padU

A double array containing the upper bound of each variable.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSloadLPData


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