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