my setup: Windows 10/Matlab2022b/Microsoft Visual C++ 2022 compiler
linux mint/matlab2023a/gcc
I have recently installed ACADO and if i recon correctly when i ran getting_started.m it worked
However, now when i try to run anything i am not getting the results that i should.
What i mean by that is that even tho examples run is see(this is for getting_started.m):
198 | 1 | 1.431294e+00 | 2.123235e+03 | 2.123251e+03 | 1.000000e+00 | [ACADO] Information: Hessian matrix is not symmetric, proceeding with symmetrized Hessian
199 | 1 | 1.509392e+00 | 2.121737e+03 | 2.121750e+03 | 1.000000e+00 | [ACADO] Information: Hessian matrix is not symmetric, proceeding with symmetrized Hessian
sqp it | qp its | kkt tol | obj val | merit val | ls param |
200 | 1 | 1.276525e+00 | 2.120468e+03 | 2.120476e+03 | 1.000000e+00 | [ACADO] Error: The maximum number of steps has been exceeded
Code: (RET_MAX_NUMBER_OF_STEPS_EXCEEDED)
File: C:\Users\szymc\Documents\ACADO\acado\optimization_algorithm\optimization_algorithm.cpp
Line: 120
included it also in attachement
It is like that for every example that i try to run with ACADO, tested for many, to name some simple_rocket.m, active_damping.m, time_optimal_rocket.m and many others.
Some of them produce outputs and graphs but when i compare them with the ones in documentation it is nothing like that and the graphs, to say the least dont make sense
I tried to again make clean all, and to redownload whole acado but it did not work.
I would gladly appreciate all the help as i plan to use ACADO in my masters
I tried to use it on Linux mint, but there i can use it from c++ side but the matlab runs into errors with make clean all, i think it is becouse it is compiling mex files with g++ not gcc, but i have no idea how to change it. If anyone knows, or is able to help me with that it would be great.
If ACADO starts working for me in matlab i dont care if it will be windows or linux, i just want it to work (and in windows case to work as intended)
Those are the ss i took on linux, see attachements
after running getting_started.m i know it needs GLIBCXX_3.4.29, but i am sure i have it, up to 3.4.32
For the future generations: the linux issue is solved by coping the libstdc++.so. and libstdc++.so.6.0.32 into
/usr/local/MATLAB/R2023a/bin/glnxa64
and by doing that i was able to get the Linux version of ACADO for matlab to work
I am still unable to make it work on Windows and if anyone is able to find the solution please let me know!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone
my setup: Windows 10/Matlab2022b/Microsoft Visual C++ 2022 compiler
linux mint/matlab2023a/gcc
I have recently installed ACADO and if i recon correctly when i ran getting_started.m it worked
However, now when i try to run anything i am not getting the results that i should.
What i mean by that is that even tho examples run is see(this is for getting_started.m):
198 | 1 | 1.431294e+00 | 2.123235e+03 | 2.123251e+03 | 1.000000e+00 |
[ACADO] Information: Hessian matrix is not symmetric, proceeding with symmetrized Hessian
199 | 1 | 1.509392e+00 | 2.121737e+03 | 2.121750e+03 | 1.000000e+00 |
[ACADO] Information: Hessian matrix is not symmetric, proceeding with symmetrized Hessian
sqp it | qp its | kkt tol | obj val | merit val | ls param |
200 | 1 | 1.276525e+00 | 2.120468e+03 | 2.120476e+03 | 1.000000e+00 |
[ACADO] Error: The maximum number of steps has been exceeded
Code: (RET_MAX_NUMBER_OF_STEPS_EXCEEDED)
File: C:\Users\szymc\Documents\ACADO\acado\optimization_algorithm\optimization_algorithm.cpp
Line: 120
included it also in attachement
It is like that for every example that i try to run with ACADO, tested for many, to name some simple_rocket.m, active_damping.m, time_optimal_rocket.m and many others.
Some of them produce outputs and graphs but when i compare them with the ones in documentation it is nothing like that and the graphs, to say the least dont make sense
I tried to again make clean all, and to redownload whole acado but it did not work.
I would gladly appreciate all the help as i plan to use ACADO in my masters
I tried to use it on Linux mint, but there i can use it from c++ side but the matlab runs into errors with make clean all, i think it is becouse it is compiling mex files with g++ not gcc, but i have no idea how to change it. If anyone knows, or is able to help me with that it would be great.
If ACADO starts working for me in matlab i dont care if it will be windows or linux, i just want it to work (and in windows case to work as intended)
Those are the ss i took on linux, see attachements
after running getting_started.m i know it needs GLIBCXX_3.4.29, but i am sure i have it, up to 3.4.32
For the future generations: the linux issue is solved by coping the libstdc++.so. and libstdc++.so.6.0.32 into
/usr/local/MATLAB/R2023a/bin/glnxa64
and by doing that i was able to get the Linux version of ACADO for matlab to work
I am still unable to make it work on Windows and if anyone is able to find the solution please let me know!
I am running into the same problem on Windows.
Using the same setup: Windows 10/Matlab2022b/Microsoft Visual C++ 2022 compiler
Also tried Matlab 2022a
ocp/getting_started gives the same result as mentioned by Jan Kowalski
parameterestimation/getting_started craches my matlab
anyone found a fix?
Switching to Microsoft Visual C++ 2019 compiler worked for me.