fplll VS casadi

Compare fplll vs casadi and see what are their differences.

fplll

Lattice algorithms using floating-point arithmetic (by fplll)

casadi

CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave. (by casadi)
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
fplll casadi
2 4
292 1,553
1.4% 1.7%
5.4 9.3
about 1 month ago 7 days ago
C++ C++
GNU Lesser General Public License v3.0 only GNU Lesser General Public License v3.0 only
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.

fplll

Posts with mentions or reviews of fplll. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-04.
  • Schnorr confirms paper is his, claims it “destroys RSA cryptosystem”
    2 projects | /r/crypto | 4 Mar 2021
    It's using the FPLLL lattice reduction library.
  • Did Schnorr destroy RSA? Show me the factors
    2 projects | news.ycombinator.com | 3 Mar 2021
    where ~= means "approximately equal to".

    u is chosen as the product of primes of all a_i > 0 and v is chosen to be the product of all primes where a_i < 0. The hope is that (u - v*N) is also p_{n-1}-smooth, which, as far as I understand, most of the math in the paper is trying to justify.

    The main innovation here, as far as I can tell, is that Schnorr is fiddling with the 'weighting' of the main diagonal when constructing the lattice basis. I interpret this as basically trying to randomize the initial lattice basis so that the chances of getting a different integer relation (for eventual construction of u,v) is more probable.

    I've been confused about this for over a decade as variants of this algorithm, and Schnorr's work in general, have been well published. For example, there's a paper from 2010 on "A Note on Integer Factorization Using Lattices" by Antonio Vera which discusses Schnorr's [3] construction.

    Is Schnorr trying to shout louder so people will listen or is there something else fundamentally flawed with this type of algorithm?

    Just a word of warning, LLL solves polynomial factorization in polynomial time (given a polynomial with integer coefficients, find it's factor polynomials also with integer coefficients) [4] and has been used to break other (now very old) cryptosystems [5]. If there's a candidate algorithm to solve integer factoring, lattice reduction (LLL, PSLQ, etc.) are it.

    I know of fplll that's a stand alone (FOSS) implementation of LLL and some extensions (BKZ, etc.) [6].

    [0] https://en.wikipedia.org/wiki/Lattice_reduction

    [1] https://en.wikipedia.org/wiki/Lenstra%E2%80%93Lenstra%E2%80%...

    [2] https://www.newton.ac.uk/files/seminar/20140509093009501-202...

    [3] https://arxiv.org/pdf/1003.5461.pdf

    [4] https://en.wikipedia.org/wiki/Factorization_of_polynomials#F...

    [5] https://web.eecs.umich.edu/~cpeikert/lic13/lec05.pdf

    [6] https://github.com/fplll/fplll

casadi

Posts with mentions or reviews of casadi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-05.
  • pyomo VS casadi - a user suggested alternative
    2 projects | 5 Sep 2023
    Interface for several solvers and integrators.
  • (Direct) Collocation in (Time) Optimal Control
    1 project | /r/ControlTheory | 9 Dec 2022
    Howdy! Collocation methods can be... tricky. For NMPC control of vehicles, success has been had using direct multiple shooting. Also easier to implement and more intuitive. In fact, this example from the GH is pretty instructive: https://github.com/casadi/casadi/blob/master/docs/examples/python/race_car.py
  • Are there any optimization libraries/packages that use automatic differentiation?
    1 project | /r/optimization | 4 Nov 2021
    JuMP.jl (Julia) or casADi (Python) are good choices.
  • Should I switch over completely to Julia from Python for numerical analysis/computing?
    5 projects | /r/Julia | 8 Jul 2021
    Python is not mature in this area. If you ask Google what Simulink for Python is, you get responses that point to dead libraries that were never feature complete and slow. The absolute closest is CASADI which is nice for some things but doesn't even have a true causal modeling interface and is mostly abandoned by the developers (they put a patch in every now and then, but just look at the commit graph), and it's slow compared to the Julia tools, so much so that PyBAMM is interfacing with ModelingToolkit.jl in Julia for a performance boost. Python is not the place to be for causal/acausal modeling or controls. Anyone who is saying "Python is mature" here is saying it in the abstract and not in the context of your actual question. Yes, Python has web development frameworks. No it does not have good libraries for tons of areas (control, acausal modeling, pharmacometrics, etc.).