Causal.jl VS casadi

Compare Causal.jl vs casadi and see what are their differences.

Causal.jl

Causal.jl - A modeling and simulation framework adopting causal modeling approach. (by zekeriyasari)

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)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Causal.jl casadi
2 4
109 1,553
- 4.4%
0.0 9.3
about 2 years ago 1 day ago
Julia C++
GNU General Public License v3.0 or later 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.

Causal.jl

Posts with mentions or reviews of Causal.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-10.
  • ‘Machine Scientists’ Distill the Laws of Physics from Raw Data
    8 projects | news.ycombinator.com | 10 May 2022
    The thing to watch in the space of Simulink/Modelica is https://github.com/SciML/ModelingToolkit.jl . It's an acausal modeling system similar to Modelica (though extended to things like SDEs, PDEs, and nonlinear optimization), and has a standard library (https://github.com/SciML/ModelingToolkitStandardLibrary.jl) similar to the MSL. There's still a lot to do, but it's pretty functional at this point. The two other projects to watch are FunctionalModels.jl (https://github.com/tshort/FunctionalModels.jl, which is the renamed Sims.jl), which is built using ModelingToolkit.jl and puts a more functional interface on it. Then there's Modia.jl (https://github.com/ModiaSim/Modia.jl) which had a complete rewrite not too long ago, and in its new form it's fairly similar to ModelingToolkit.jl and the differences are more in the details. For causal modeling similar to Simulink, there's Causal.jl (https://github.com/zekeriyasari/Causal.jl) which is fairly feature-complete, though I think a lot of people these days are going towards acausal modeling instead so flipping Simulink -> acausal, and in that transition picking up Julia, is what I think is the most likely direction (and given MTK has gotten 40,000 downloads in the last year, I think there's good data backing it up).

    And quick mention to bring it back to the main thread here, the DataDrivenDiffEq symbolic regression API gives back Symbolics.jl/ModelingToolkit.jl objects, meaning that the learned equations can be put directly into the simulation tools or composed with other physical models. We're really trying to marry this process modeling and engineering world with these "newer" AI tools.

  • Should I switch over completely to Julia from Python for numerical analysis/computing?
    5 projects | /r/Julia | 8 Jul 2021
    ModelingToolkit is not equivalent to Simulink. Simulink is a causal modeling framework with a code-based underpinning. The closest to Simulnik would actually be Causal.jl, which is a really nice package in its own right, quite fast, and has a really expansive feature-set. For causal modeling in the form of Simulink, it is definitely a cool package to look into.

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.).

What are some alternatives?

When comparing Causal.jl and casadi you can also consider the following projects:

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.

ceres-solver - A large scale non-linear optimization library

OMJulia.jl - Julia scripting OpenModelica interface

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

ScottishTaxBenefitModel.jl - A tax-benefit model for Scotland

symbolic - A Symbolic Package for Octave using SymPy

Modia.jl - Modeling and simulation of multidomain engineering systems

jsbsim - An open source flight dynamics & control software library

DifferentialEquations.jl - Multi-language suite for high-performance solvers of differential equations and scientific machine learning (SciML) components. Ordinary differential equations (ODEs), stochastic differential equations (SDEs), delay differential equations (DDEs), differential-algebraic equations (DAEs), and more in Julia.

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

ModelingToolkitStandardLibrary.jl - A standard library of components to model the world and beyond

fricas - Official repository of the FriCAS computer algebra system