R: Set Branch Weights

set.branch.weights {lpSolveAPI} | R Documentation

## Set Branch Weights

### Description

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

### Usage

    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.

### Value

a `NULL` value is invisibly returned.

### Author(s)

Kjell Konis kjell.konis@me.com

### References

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

[Package lpSolveAPI version 5.5.2.0-17.7 Index]