iFR-ACSO / casos

CaΣoS is a nonlinear optimization-oriented sum-of-squares toolbox based on the symbolic framework of CasADi.
GNU General Public License v3.0
2 stars 0 forks source link

Installation file #54

Open JOlucak opened 5 months ago

JOlucak commented 5 months ago

An installation file would be beneficial similar to other toolboxes. The installations scirpt bascially sets the correct paths and check e.g. that solver(s) are available. A first version is attached as text file (actually a .m-file). install_casos.txt

Fabian-Geyer commented 2 months ago

Potential check to verify the correct functionality in the CasADi installation:

which('sparsity_cast')

However, the casadi.DM class needs to be loaded before the result is correct since sparsity_cast is a class method.

Fabian-Geyer commented 2 months ago

The script was updated to include a check for sparsity_cast see commit

One small issue remains: In my case when adding CasADi to the matlab path and running the install script again, CasADi does not work immediately. It seems like Matlab always needs a restart to be able to correctly call the toolbox. This means that users might have to restart Matlab after adding CasADi. )