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)

Casadi Alternatives

Similar projects and alternatives to casadi

  1. ModelingToolkit.jl

    An acausal modeling framework for automatically parallelized scientific machine learning (SciML) in Julia. A computer algebra system for integrated symbolics for physics-informed machine learning and automated transformations of differential equations

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. pyomo

    14 casadi VS pyomo

    An object-oriented algebraic modeling language in Python for structured optimization problems.

  4. ceres-solver

    A large scale non-linear optimization library

  5. Causal.jl

    Causal.jl - A modeling and simulation framework adopting causal modeling approach.

  6. jsbsim

    3 casadi VS jsbsim

    An open source flight dynamics & control software library

  7. Catalyst.jl

    Chemical reaction network and systems biology interface for scientific machine learning (SciML). High performance, GPU-parallelized, and O(1) solvers in open source software.

  8. symforce

    Fast symbolic computation, code generation, and nonlinear optimization for robotics

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. NumCpp

    4 casadi VS NumCpp

    C++ implementation of the Python Numpy library

  11. wyvern

    Automatic conversion of call by value into call by need in the LLVM IR. (by lac-dcc)

  12. edlib

    2 casadi VS edlib

    Lightweight, super fast C/C++ (& Python) library for sequence alignment using edit (Levenshtein) distance.

  13. MomentClosure.jl

    Tools to generate and study moment equations for any chemical reaction network using various moment closure approximations

  14. fricas

    8 casadi VS fricas

    Official repository of the FriCAS computer algebra system

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better casadi alternative or higher similarity.

casadi discussion

Log in or Post with

casadi reviews and mentions

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.).
  • A note from our sponsor - InfluxDB
    influxdata.com | 28 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Stats

Basic casadi repo stats
4
1,880
9.9
25 days ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C++ is
the 7th most popular programming language
based on number of references?