Learn R Programming

clpAPI (version 1.3.1)

modifyCoefficientCLP: Change matrix coefficients

Description

Low level interface function to the COIN-OR Clp function Clp_modifyCoefficient. Consult the COIN-OR Clp documentation for more detailed information.

Usage

modifyCoefficientCLP(lp, i, j, el, keepZero = TRUE)

Arguments

lp

An object of class "'>clpPtr" as returned by initProbCLP. This is basically a pointer to a COIN-OR Clp problem object.

i

Row index (starts with 0).

j

Column index (starts with 0).

el

Coefficient to set.

keepZero

If set to TRUE, keep zeroes.

Value

NULL

Details

Interface to the C function modifyCoefficient which calls the COIN-OR Clp function Clp_modifyCoefficient.

References

The COIN-OR Clp home page at https://projects.coin-or.org/Clp