Nothing
################################################################################
#
# Function to fit model by osqp
#
################################################################################
osqp.fit <- function(Dmat, dvec, Cmat, lb, ub, qp_pars){
# Fit
res <- osqp::solve_osqp(P = Dmat, q = -dvec, A = Cmat, l = lb, u = ub,
pars = qp_pars)
# Return
list(solution = res$x, iterations = res$info$iter,
iact = which(res$y != 0))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.