meco-group / omg-tools

Optimal Motion Generation-tools: motion planning made easy
GNU Lesser General Public License v3.0
565 stars 98 forks source link

Ill-posed problem detected: LBG[0] <= UBG[0] was violated. Got LBG[0] = nan and UBG[0] = nan. #84

Closed parzival2 closed 4 years ago

parzival2 commented 4 years ago

Hi,

Great looking set of tools. When I am trying to run an example, I am getting an error from Casadi that says

RuntimeError: .../casadi/core/nlpsol.cpp:489: Assertion "lb <= ub && lb!=inf && ub!=-inf" failed: Ill-posed problem detected: LBG[0] <= UBG[0] was violated. Got LBG[0] = nan and UBG[0] = nan.

How can it be reproduced

Versions of packages Casadi - 3.5.2 (Is it too recent?) It was installed automatically while installing omg-tools Update Casadi - 3.4.1 and 3.5.1 works. scipy - 1.2.3 omg-tools - 0.1.4

Can anybody let me what might be the problem that I have and how can it be solved?

Thanks.

jgillis commented 4 years ago

Which example?

parzival2 commented 4 years ago

Sorry for not mentioning the example in the description. I have tried with multiple ones and all resulted in the same error. The examples I have tried so far are

I will also try with a different version of Casadi and update the issue description.

Thanks for the reply.

Update The examples are working with 3.4.1 version of Casadi.

jgillis commented 4 years ago

And 3.5.1?

parzival2 commented 4 years ago

Sorry for the delay. Just checked now. Casadi(3.5.1) works.

jgillis commented 4 years ago

Now fixed in CasADi 3.5.3