demo/example.R

library(scs)

A <- matrix(c(1, 1), ncol=1)
b <- c(1, 1)
c <- c(1)
cone <- list(f = 2)
params <- list(eps = 1e-3, max_iters = 50, verbose=TRUE)
sol <- scs(A, b, c, cone, params) 
sol

Try the scs package in your browser

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

scs documentation built on May 29, 2017, 5:38 p.m.