casadi
symbolic
casadi | symbolic | |
---|---|---|
4 | 3 | |
1,553 | 145 | |
1.7% | 1.4% | |
9.3 | 8.4 | |
7 days ago | about 2 months ago | |
C++ | MATLAB | |
GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 only |
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.
casadi
-
pyomo VS casadi - a user suggested alternative
2 projects | 5 Sep 2023
Interface for several solvers and integrators.
-
(Direct) Collocation in (Time) Optimal Control
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?
JuMP.jl (Julia) or casADi (Python) are good choices.
-
Should I switch over completely to Julia from Python for numerical analysis/computing?
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.).
symbolic
-
Determining Path to Python
https://stackoverflow.com/questions/62154145/error-python-ipc-popen2-undefined-near-line-62-column-15-when-running-octave and https://github.com/cbm755/octsympy/issues/424 seems really similar to the problem you're having.
-
Octave Symbolic package error
I'm experiencing issues with the octave symbolic package very similar to those found here. This issue seems to have been fixed and merged here.
-
Octave won't let me install symbolic package
I used this link (https://github.com/cbm755/octsympy/releases) to download the bundle package. After downloading, I put them in the same directory and typed "pkg install symbolic-win-py-bundle-2.9.0.tar.gz" in the command prompt in octave as the directions said and this error message came up:
What are some alternatives?
ceres-solver - A large scale non-linear optimization library
cocalc - CoCalc: Collaborative Calculation in the Cloud
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
polycalc - 🧮 Polynomial Calculator
jsbsim - An open source flight dynamics & control software library
symforce - Fast symbolic computation, code generation, and nonlinear optimization for robotics
matlab2tikz - This program converts MATLAB®/Octave figures to TikZ/pgfplots figures for smooth integration into LaTeX.
fricas - Official repository of the FriCAS computer algebra system
SOFAtoolbox - SOFA Toolbox (API for Matlab, Octave)
wyvern - Automatic conversion of call by value into call by need in the LLVM IR.
expreduce - An experimental computer algebra system written in Go