set.branch.weights function

Set Branch Weights

Set Branch Weights

Set weights on the variables in an lpSolve linear program model object.

set.branch.weights(lprec, weights)

Arguments

  • 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.

Returns

a NULL value is invisibly returned.

References

https://lpsolve.sourceforge.net/5.5/index.htm

Author(s)

Kjell Konis kjell.konis@me.com

  • Maintainer: Florian Schwendinger
  • License: LGPL-2
  • Last published: 2024-07-19

Useful links