Closed traversaro closed 1 year ago
Hi Silvio/@traversaro ,
Thanks for reporting the error. Of course, it should be not problem.has_inequality_constraints()
.
This was actually fixed in a subsequent commit (93cb0a2f0bbe7cf10e721254de487826ee1c5d28), so you just have to git pull
.
Best,
Charlie
Thanks for the fast feedback @cvanaret !
This was actually fixed in a subsequent commit (93cb0a2), so you just have to
git pull
.
I am currently using the last commit (https://github.com/cvanaret/Uno/commit/e4a8fa7a21e9357c916d298b4f5cbb31a0f8d314), and I still see the problem.
I am not familiar with the codebase, but the commit you reference changed an assert in the PrimalDualInteriorPointSubproblem::solve
method, while the assert I was referencing to is in the PrimalDualInteriorPointSubproblem::generate_initial_iterate
method, and seems to be still there in the main
branch: https://github.com/cvanaret/Uno/blob/main/uno/ingredients/subproblem/interior_point_methods/PrimalDualInteriorPointSubproblem.cpp#L46 .
Oh, thanks for catching that one. I overlooked the function name in your first message. It's now fixed in commit a1f89f7d77714126993fbd283bcfe312855f11d2.
Thanks!
I am trying to solve the example .nl files provided in https://github.com/cvanaret/Uno/tree/main/examples with
uno_ampl
with the ipopt preset, and they are both failing with:However, if I try to comment out the assert in https://github.com/cvanaret/Uno/blob/e4a8fa7a21e9357c916d298b4f5cbb31a0f8d314/uno/ingredients/subproblem/interior_point_methods/PrimalDualInteriorPointSubproblem.cpp#L46, then the problems both get solved, and the solution is quite similar to the one found by ipopt, see for example for
polak5.nl
: