R/row.add.mode.q

row.add.mode <- function(lprec, state)
{
  if(!missing(state)) {
    state <- match.arg(state, choices = c("off", "on")) == "on"
    .Call(RlpSolve_set_add_rowmode, lprec, as.logical(state))
  }

  ifelse(.Call(RlpSolve_is_add_rowmode, lprec), "on", "off")
}

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.