rLSgetLPVariableDataj: Retrieve the formulation data for a specified variable.

Description Usage Arguments Value References See Also

View source: R/rLindo.R

Description

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

Usage

1
  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


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