Giter Site home page Giter Site logo

osqp / osqp_benchmarks Goto Github PK

View Code? Open in Web Editor NEW
90.0 11.0 21.0 72.07 MB

QP Benchmarks for the OSQP Solver against GUROBI, MOSEK, ECOS and qpOASES

Home Page: https://osqp.org

License: Apache License 2.0

Python 96.91% MATLAB 1.37% Julia 1.04% Shell 0.68%
quadratic-programming optimization qp benchmarks

osqp_benchmarks's Introduction

The Operator Splitting QP Solver

CI Code coverage License

PyPI - downloads Conda - downloads

Visit our GitHub Discussions page for any questions related to the solver!

The documentation is available at osqp.org

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 and u so that l_i in R U {-inf} and u_i in R U {+inf} for all i in 1,...,m.

Citing OSQP

If you are using OSQP for your work, we encourage you to

We are looking forward to hearing your success stories with OSQP! Please share them with us.

Bug reports and support

Please report any issues via the Github issue tracker. All types of issues are welcome including bug reports, documentation typos, feature requests and so on.

Numerical benchmarks

Numerical benchmarks against other solvers are available here.

osqp_benchmarks's People

Contributors

bstellato avatar gbanjac avatar goulart-paul avatar jcarpent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osqp_benchmarks's Issues

Some objective values for Maros Mezaros and QPLIB instances are incorrect

I ran the Maros Mezaros instances and some QPLIB (those that did not return errors). What I observed is that many objective values do not match those that are reported elsewhere, for example PRIMALC2, DUALC2, BOYD2, PRIMAC5 (MM) and 8792, 8559, 8567 (QPLIB), ... These examples are completely off and not just a little, so it cannot be accuracy.

My suspicion is that there is a problem with the instance parsers, for two reasons: (1) MOSEK returns the same (incorrect) objective values, and (2) QPLIB returns error messages for some problems that upper bound values exceed lower bound values.

How to run the benchmark tests

Hi,

I am using Ubuntu system. Should I put the osqp_benchmarks to some specific location? Because when I tried to run run_benchmark_problems.py, the terminal shows ImportError: No module named osqp.

Some issues from qplib problem

Hi,

I tried some qplib problem benchmark test, but found there are some non-convex warnings. I was wondering if you met the similar issues? Such as for "QPLIB_0343", OSQP showed "ERROR in LDL_factor: Error in KKT matrix LDL factorization when computing the nonzero elements. The problem seems to be non-convex".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.