View source: R/get.branch.mode.R
get.branch.mode | R Documentation |
Retrieve the branch mode for one or more decision variables from an lpSolve linear program model object.
get.branch.mode(lprec, columns = 1:n, as.char = TRUE)
lprec |
an lpSolve linear program model object. |
columns |
a numeric vector of unique values from the set |
as.char |
a logical value. If |
either a character vector or an integer vector containing the branch modes for the decision variables specified in columns
. The possibilities are: 0 = "ceiling"
, 1 = "floor"
and 2 = "auto"
.
Kjell Konis kjell.konis@me.com
https://lpsolve.sourceforge.net/5.5/index.htm
lps.model <- make.lp(3, 3)
get.branch.mode(lps.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.