Learn R Programming

rLindo (version 8.0.1)

rLSmodifyRHS: Modify selected constraint right-hand sides of a given model.

Description

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

Usage

rLSmodifyRHS(model,nCons,paiCons,padB)

Arguments

model
A LINDO API model object, returned by rLScreateModel.
nCons
Number of constraint right-hand sides to modify.
paiCons
An integer array containing the indices of the constraints whose right-hand sides are to be modified.
padB
A double array containing the new right-hand side values for the modified right-hand sides.

Value

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

References

LINDO SYSTEMS home page at www.lindo.com