set.branch.weights {lpSolveAPI} | R Documentation |
Set weights on the variables in an lpSolve linear program model object.
set.branch.weights(lprec, weights)
lprec |
an lpSolve linear program model object. |
weights |
a numeric vector with n elements (where n is the number of decision variables in lprec ) containing the weights for the decision variables. |
a logical value indicating whether the weight were successfully set is invisibly returned.
Kjell Konis kjell.konis@epfl.ch
http://lpsolve.sourceforge.net/5.5/index.htm