-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimization reaches minimal step length #149
Comments
From the statistics it looks like the iterate are diverging straight away (see column res_comp), even if the linear KKT system is solved with good accuracy (see last 4 columns lin res ...). |
thans for your reply! |
You don't have to write the data files by hands, you just need to add the three function calls here https://github.com/giaf/hpipm/blob/master/test_problems/test_d_ocp.c#L1301 (and next 2 lines) in the source code where the IPM solver is called. I'm not familiar with C++ so I won't be able to check if there is any problem in the code wrapper just looking at it. |
Hello!
I has a problem when solving an MPC problem. The Hpipm solver returns code 2, similar to issue #56.
Strange to say, it would return code Sucess when removing the first general constraint. But, the MPC problem meet the first constraint. In addition, the MPC problem can be solved by OSQP. Switching to the robust mode and reducing the exit tolerances do not work.
The text was updated successfully, but these errors were encountered: