exact VS osqp

Compare exact vs osqp and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
exact osqp
3 4
- 1,565
- 1.6%
- 8.1
- 9 days ago
C
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

exact

Posts with mentions or reviews of exact. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-20.
  • New release
    1 project | /r/exact | 2 Oct 2022
    Version 1.0.0 of Exact is released.
  • Ask HN: Where to run embarrassingly parallel, Integer, no SIMD workloads?
    1 project | news.ycombinator.com | 16 Aug 2022
    >> The workload is memory bound not compute bound.

    > I don't think so? How many gigabytes per second per core are you processing?

    That's what the Intel VTune profiler tells me. 39.2% Memory bound = 21,7% of clock ticks L1 bound (execution stalled for data that was in L1) + 12.4% L3 bound on a Haswell 4 core Xeon.

    > If for some reason you can talk about this problem to random SIMD programmers online privately but you cannot post about this problem publicly

    I can talk about it publicly. I just did not want to distracted from the actual hardware question. I recently started to contribute to this https://gitlab.com/JoD/exact open source project. The algorithm tries to find a valid assignment for a bunch of equations of this form 4x1 -3x57 +1* not(x1232) <= 4 (there are special cases already accelerated). We guess an assignment for a certain variable, check all constraints, sometimes constraints imply other assignments to other variables (if x1 is true and x1232 is false x57 has to be true) then those get propagated to. One technique is called watch propagation and can be done for the SAT family of clauses. This technique is in incompatible with branching along assignments. I find SIMD over clauses dubious, as they are mostly random accessed of different length and sparse. The embarrassing parallelization comes from being able to work one different parts of the parameter space and exchange clauses learned from conflicts. We are currently not doing that yet but plan to do something HordeSAT like over MPI (there is different slightly cleverer tree exchange variant over MPI all to all but i do not have that reference handy).

    We have some horrible sins (such a virtual method table look ups in loops, no -march=native compiler flags in main branch, ...) which the main developer created and we have not cleaned up. If i could nerd snipe you to run some experiments with that codebase and contribute some SIMD loops (with -march=native -mtune=native only 4 functions are currently SIMD, none are significant to the performance) that be great. For all the divisibilty checking i currently plan this: https://www.reddit.com/r/exact/comments/wokfhl/resource_on_f... (we spend 3% of compute time in the standard libraries modulo)

  • Ask HN: Do you use an optimization solver? Which one? Why? Do you like it?
    12 projects | news.ycombinator.com | 20 Apr 2022
    I use JuMP as modeling language. For MILP i am usually using Gurobi or SCIP. For ILP problems have have been looking in to the exact solver https://gitlab.com/JoD/exact which seems quiet promising.

    For NLP i usually go with either https://worhp.de/ or just IpOpt.

osqp

Posts with mentions or reviews of osqp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-20.
  • Best/Any Convex Optimization Solver for Rust?
    1 project | /r/rust | 31 May 2023
    There's also two bindings for the osqp library (which is written in C), osqp published 2 years ago and osqp-rust published 3 months ago. I don't know what are the differences between them, but they both target osqp 0.6.2 (released in 2021) while the last released version is osqp 0.6.3 which was released last week.
  • Cvxpy probs
    1 project | /r/optimization | 28 Mar 2023
    Cvxpy is overkill for a standard quadratic program. I’d recommend trying OSQP https://osqp.org which can take advantage of sparsity.
  • Ask HN: Do you use an optimization solver? Which one? Why? Do you like it?
    12 projects | news.ycombinator.com | 20 Apr 2022
    I have been using OSQP [1] quite a bit in a project where I needed to solve many quadratic programs (QPs). When I started the project, OSQP didn't exist yet; I ended up using both cvxopt and MOSEK; both were frustratingly slow.

    After I picked up the project again a year later, I stumbled across the then new OSQP. OSQP blew both cvxopt and MOSEK out of the water (up to 10 times faster) in terms of speed and quality of the solutions. Plus the C interface was quite easy to use and super easy (as far as numerics C code goes) to integrate into my larger project.

    [1] https://osqp.org/

  • What's the industry standard "fast" library for optimization methods?
    2 projects | /r/optimization | 19 Dec 2021
    For quadratic programming—which is a class of problems in convex optimization, which is a sub-field of numerical optimization in general—a solver that is frequently used is OSQP. Although it is implemented in C++ you can also use it in Python thanks to its bindings. If your goal is to use a solver that's state-of-the-art and relatively versatile it is a good pick. If your goal is to find the best solver for a given problem, then there is no one-stop-shop. For example in this benchmark OSQP was the best-performing solver for sparse problems but quadprog performed better on dense problems.

What are some alternatives?

When comparing exact and osqp you can also consider the following projects:

HiGHS - Linear optimization software

MControlCenter - An application that allows you to change the settings of MSI laptops running Linux

python-mip - Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs

csips - A pure-python integer programming solver

quadprog - Quadratic Programming Solver

clpz - Constraint Logic Programming over Integers

golomb-solver - Create Golomb rulers with constraint programming

vroom - Vehicle Routing Open-source Optimization Machine

or-tools - Google's Operations Research tools: