Quadratic Programming Solver using the 'OSQP' Library

Provides bindings to the 'OSQP' solver. The 'OSQP' solver is a numerical optimization package for solving convex quadratic programs written in 'C' and based on the alternating direction method of multipliers. See for details.


R interface for OSQP

R-CMD-check CRAN_Status_Badge CRAN Downloads

Provides R-bindings to OSQP: the Operator Splitting QP Solver.

The OSQP (Operator Splitting Quadratic Program) solver is a numerical optimization package for solving problems in the form

minimize        0.5 x' P x + q' x

subject to      l <= A x <= u

where x in R^n is the optimization variable. The objective function is defined by a positive semidefinite matrix P in S^n_+ and vector q in R^n. The linear constraints are defined by matrix A in R^{m x n} and vectors l in R^m U {-inf}^m, u in R^m U {+inf}^m.

Documentation

The interface is documented here.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("osqp")

1.0.0 by Balasubramanian Narasimhan, 7 months ago


https://osqp.org


Report a bug at https://github.com/osqp/osqp-r/issues


Browse source code at https://github.com/cran/osqp


Authors: Bartolomeo Stellato [aut, ctb, cph] , Goran Banjac [aut, ctb, cph] , Paul Goulart [aut, ctb, cph] , Stephen Boyd [aut, ctb, cph] , Eric Anderson [ctb] , Vineet Bansal [aut, ctb] , Balasubramanian Narasimhan [cre, aut]


Documentation:   PDF Manual  


Apache License 2.0 | file LICENSE license


Imports Rcpp, methods, Matrix, S7, cli

Suggests knitr, rmarkdown, slam, testthat

Linking to Rcpp

System requirements: C++17, GNU make


Imported by CVXR, Compositional, FoCo2, FoReco, ROI.plugin.osqp, aRD, biosensors.usc, causalOT, cgaim, cirls, densityratio, eVCGsampler, frechet, graphicalExtremes, gseries, nnmf, optweight, qfa, skedastic.

Depended on by L2E, independenceWeights.

Suggested by EmpiricalDynamics, PortfolioAnalytics, WeightIt, forestBalance, gmsp, psvr, vbm.

Enhanced by sbw.


See at CRAN