R/add.SOS.R

Defines functions add.SOS

Documented in add.SOS

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 Sept. 3, 2023, 5:07 p.m.