set.branch.mode: Set Branch Mode

Description Usage Arguments Value Author(s) References

Description

Specify which branch to take first in the branch-and-bound algorithm for decision variables in an lpSolve linear program model object.

Usage

1
set.branch.mode(lprec, columns, modes)

Arguments

lprec

an lpSolve linear program model object.

columns

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.

modes

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.

Value

a NULL value is invisibly returned.

Author(s)

Kjell Konis kjell.konis@me.com

References

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



Search within the lpSolveAPI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.