Search found 13 matches
- Thu May 25, 2023 2:51 pm
- Forum: OpenSim Moco
- Topic: IPOPT output to opensim.log
- Replies: 8
- Views: 1139
Re: IPOPT output to opensim.log
Hi Guys, Carlos you could create a file called ipopt.opt ( https://coin-or.github.io/Ipopt/OPTIONS.html ) in the directory you are calling it from and specify a file IPOPT to print to after it is done. I have not done it for this exact problem but have used ipopt.opt file in the past as a work aroun...
- Fri Apr 28, 2023 1:11 pm
- Forum: OpenSim Moco
- Topic: Same code, different machines, different number of iterations
- Replies: 7
- Views: 1685
Re: Same code, different machines, different number of iterations
Hey Carlos, From waht I understand depending on the architecture of the machine some low level changes to the setup of IPOPT can happen. Are they both Windows or Linux machines? Also check what solver IPOPT is selecting as default (e.g. mumps vs pardiso - see pic attached). Screenshot 2023-04-28 130...
- Tue Jan 24, 2023 12:24 pm
- Forum: OpenSim Moco
- Topic: Get Ipopt to use mumps vs pardiso
- Replies: 9
- Views: 1712
Re: Get Ipopt to use mumps vs pardiso
Hey Nick, The test simulations I was running on the clusters converged as expected. Using MUMPS the objective and constraint errors for my problems were at least two orders of magnitude smaller on the iteration that the simulation converged compared to the same iteration using pardiso as I mentioned...
- Mon Jan 23, 2023 1:52 pm
- Forum: OpenSim Moco
- Topic: Get Ipopt to use mumps vs pardiso
- Replies: 9
- Views: 1712
Re: Get Ipopt to use mumps vs pardiso
Hey Nick, I think I found a workaround that will work at runtime. An Ipopt options file (ipopt.opt) can be created in the directory where Ipopt will be executed from that you can specify a lot of the Ipopt options (https://coin-or.github.io/Ipopt/OPTIONS.html) that might not be accessible through th...
- Fri Jan 20, 2023 4:40 pm
- Forum: OpenSim Moco
- Topic: Get Ipopt to use mumps vs pardiso
- Replies: 9
- Views: 1712
Re: Get Ipopt to use mumps vs pardiso
Afternoon Nick, Thanks for the quick reply! Yeah the patch files were in the same folder as the CMakeLists.txt file and I didn't see any errors during the configuration and build regarding them. I can see the MUMPS and METIS header files are installed. Also gcc (and gfortran) are installed on the sy...
- Thu Jan 19, 2023 6:19 pm
- Forum: OpenSim Moco
- Topic: Get Ipopt to use mumps vs pardiso
- Replies: 9
- Views: 1712
Get Ipopt to use mumps vs pardiso
Hello everyone, With some help I have managed to get OpenSim Moco running on some clusters I have access to. In my tests on the cluster (built from source) I get my optimal control problems to run however I have noticed that Ipopt is using pardiso. This is different to my local machines (not built f...
- Fri Sep 16, 2022 3:26 pm
- Forum: OpenSim
- Topic: Delete via point programatically
- Replies: 2
- Views: 689
Re: Delete via point programatically
Hi Ayman,
Thanks for confirming this for me! If I come across the issue again I will do as you suggested.
All the best,
Pavlos
Thanks for confirming this for me! If I come across the issue again I will do as you suggested.
All the best,
Pavlos
- Fri Sep 16, 2022 3:24 pm
- Forum: OpenSim
- Topic: Number of cores used by OpenSim
- Replies: 4
- Views: 10381
Re: Number of cores used by OpenSim
Hi Samuele, Nice to see someone else tackling spine models... they're always fun! Sounds similar to a study I did a few years ago. As for your simulation timings. There has been a lengthy discussion on this topic in the Moco forum - might be worth checking that out. Something I found to work recentl...
- Fri Aug 19, 2022 2:56 pm
- Forum: OpenSim
- Topic: Delete via point programatically
- Replies: 2
- Views: 689
Delete via point programatically
Hello all, I am having some trouble figuring out how to safely delete muscle via points through the Matlab API. Currently I am using: % Delete via point if flag_delt2ViaDelete == true delt2_GP.deletePathPoint(init_state, point_count); osim_model.initSystem(); osim_model.finalizeConnections(); osim_m...
- Wed Jun 01, 2022 10:59 am
- Forum: OpenSim
- Topic: Memory Leak / Bleeding
- Replies: 5
- Views: 1208
Re: Memory Leak / Bleeding
Hi Jake, I had a similar issue a few years ago. Some differences there as I was running OpenSim 3.3 on Matlab R2019(?) on a windows PC. In any case it might be of use. I tried a lot of tweaking within Matlab to try and control memory but what worked for me was to bundle the majority of my code that ...