R/get.branch.mode.q

get.branch.mode <- function(lprec, columns = 1:n, as.char = TRUE)
{
  n <- dim(lprec)[2]

  if(n < 1)
    columns <- integer(0)

  modes <- .Call(RlpSolve_get_var_branch, lprec, as.integer(columns))

  if(as.char)
    modes <- c("ceiling", "floor", "auto", "default")[1 + modes]

  modes
}

Try the lpSolveAPI package in your browser

Any scripts or data that you put into this service are public.

lpSolveAPI documentation built on May 2, 2019, 6:50 p.m.