rLSgetLPVariableDataj {rLindo}R Documentation

Retrieve the formulation data for a specified variable.

Description

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

Usage

  rLSgetLPVariableDataj(model,iVar)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

iVar

Index of the variable whose data you wish to retrieve.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

pchVartype

Type of the variable.

pdC

Objective coefficient of the variable.

pdL

Lower bound of the variable.

pdU

Upper bound of the variable.

pnAnnz

Number of nonzero constraint coefficients in the variable's column.

paiArows

An integer array containing the row indices of the variable's nonzeros.

padAcoef

A double array that returns the variable's nonzero coefficients.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSgetLPData


[Package rLindo version 8.0.1 Index]