R/add.SOS.q

add.SOS <- function(lprec, name, type, priority, columns, weights)
{
  .Call(RlpSolve_add_SOS, lprec, as.character(name), as.integer(type),
        as.integer(priority), as.integer(columns), as.double(weights))

  invisible()
}

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.