50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

rLindo (version 8.0.1)

rLSmodifyAj: Modify the coefficients for a given column at specified constraints.

Description

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

Usage

rLSmodifyAj(model,iVar1,nRows,paiRows,padAj)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
iVar1
Index of the variable to modify the constraint coefficients.
nRows
Number of constraints to modify.
paiRows
An integer array containing the indices of the constraints to modify.
padAj
A double array containing the values of the new coefficients.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com