rLSmodifyObjective: Modify selected objective coefficients of a given model.

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
  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


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