Rdocumentation
powered by
Learn R Programming
rLindo (version 8.0.1)
rLSmodifyUpperBounds: Modify selected upper bounds in a given model.
Description
R interface function for LINDO API function
LSmodifyUpperBounds
. For more information, please refer to LINDO API User Manual.
Usage
rLSmodifyUpperBounds(model,nVars,paiVars,padU)
Arguments
model
A LINDO API model object, returned by
rLScreateModel
.
nVars
Number of bounds in the model to modify.
paiVars
An integer array containing the indices of the variables for which to modify the upper bounds.
padU
A double array containing the new values of the upper bounds on the variables.
Value
An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
References
LINDO SYSTEMS home page at www.lindo.com