opensim-org / opensim-moco

Solve optimal control problems for musculoskeletal models using OpenSim and direct collocation.
https://opensim.stanford.edu/moco
Apache License 2.0
56 stars 15 forks source link

In (certain versions of) MATLAB, Ipopt output is hidden #159

Open chrisdembia opened 5 years ago

chrisdembia commented 5 years ago

https://github.com/opensim-org/opensim-core/issues/1612

chrisdembia commented 5 years ago

We should be able to use the output_file Ipopt option as a workaround.

chrisdembia commented 5 years ago

OR we implement an Ipopt Journal? Potentially use the MatlabJournal?? https://www.coin-or.org/Ipopt/doxygen/classIpopt_1_1MatlabJournal.html

chrisdembia commented 5 years ago

The Matlab journal is for mex. We can implement our own journal and write the output to our out.log by just using std::cout.