Learn R Programming

lpmodeler (version 0.2-1)

setPoint: Set the coefficient of a variable in a contraint of a LP or MIP given their names

Description

setPoint sets the coefficient of a variable in a contraint of a linear program (LP) or mixed integer program (MIP) given their names.

Usage

setPoint(p, v, c, x)

Arguments

p
an object of class lpmodeler
v
name of the variable in the problem matrix (column)
c
name of the constraint in the problem matrix (row)
x
value of the coefficient

Value

An object of class lpmodeler.

See Also

TODO

Examples

Run this code
# TODO

Run the code above in your browser using DataLab