| set.column {lpSolveAPI} | R Documentation | 
Set Column
Description
Set a column in an lpSolve linear program model object.
Usage
set.column(lprec, column, x, indices)
Arguments
lprec | 
 an lpSolve linear program model object.  | 
column | 
 a single numeric value from the set   | 
x | 
 a numeric vector containing the elements (only the nonzero elements if   | 
indices | 
 optional for sparse   | 
Value
a NULL value is invisibly returned.
Author(s)
Kjell Konis kjell.konis@me.com
References
https://lpsolve.sourceforge.net/5.5/index.htm
Examples
lps.model <- make.lp(4, 2)
set.column(lps.model, 2, c(6,2,4,9))
set.column(lps.model, 1, c(3,1,5), indices = c(1,2,4))