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

Description Usage Arguments Value References See Also

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



Search within the rLindo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.