Specify which branch to take first in the branch-and-bound algorithm for decision variables in an lpSolve linear program model object.
set.branch.mode(lprec, columns, modes)
a NULL
value is invisibly returned.
an lpSolve linear program model object.
a numeric vector containing values from the set {1, ..., n}
(where n
is the number of decision variables in lprec
) specifying which columns to set the mode for.
a character vector composed of the strings {"ceiling", "floor", "auto", "default"}
giving the branch modes for the decision variables specified in columns
. Please see the reference for a description of these terms.
Kjell Konis kjell.konis@me.com