You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested and made the hs_071 test file provided by IPOPT to see if there was something weird with the solve function (since you are essentially calling the OptimizeTNLP line from your code which actually belongs to IPOPT), and this passes as expected. I also tested the ifopt-ipopt test example which also successfully passes, so it seems there must be an issue causing the ipopt solver to not proceed, maybe something wrong with the constraints that is causing it to not even attempt to solve the problem (It is not outputting anything).
Is there a way to verify the ipopt installation source that ifopt was compiled with? I initially downloaded used the command:
sudo apt-get install coinor-libipopt-dev
However, after reading through this thread, I removed the package, so I believe this should remove the library files in /usr/local/... as well, but I'm not so sure of that. I did also add the lines as you suggested in the ~/.bashrc file to export the local installation of IPOPT, so I think this shouldn't be the issue...
The fact that its not outputting anything is very suspicious. Even if there is an issue with the constraints, something should be printed out. Maybe it's segfaulting, could you run it with gdb to check that and post the error message?
Ubuntu 14.04
IPOPT v. 3.12.8
Both the IFOPT test passes as well as the ifopt_ipopt binary test (However, there is not Output to the tests)
In addition, all of the programs were compiled from source and not installed using any ROS interface (i.e. all programs were made with cmake).
Edit
Did some more digging, it seems the 'error' lies in the following file when you attempt to solve the NLP:
https://github.com/ethz-adrl/ifopt/blob/master/ifopt_ipopt/src/ipopt_solver.cc
(line 75).
I tested and made the hs_071 test file provided by IPOPT to see if there was something weird with the solve function (since you are essentially calling the OptimizeTNLP line from your code which actually belongs to IPOPT), and this passes as expected. I also tested the ifopt-ipopt test example which also successfully passes, so it seems there must be an issue causing the ipopt solver to not proceed, maybe something wrong with the constraints that is causing it to not even attempt to solve the problem (It is not outputting anything).
Is there a way to verify the ipopt installation source that ifopt was compiled with? I initially downloaded used the command:
sudo apt-get install coinor-libipopt-dev
However, after reading through this thread, I removed the package, so I believe this should remove the library files in /usr/local/... as well, but I'm not so sure of that. I did also add the lines as you suggested in the ~/.bashrc file to export the local installation of IPOPT, so I think this shouldn't be the issue...
Originally posted by @Neotriple in #40 (comment)
The text was updated successfully, but these errors were encountered: