EXIT: Converged to a point of local infeasibility. Problem may be infeasible. #719
-
Hello. Trying to solve the simple trajectory optimization task:
Here is the code:
The issue is that I am getting an error:
The thing is that I'm pretty confident in the x and g bounds I assigned as well as I am confident in the x and g I provided. (this problem was initially solved by fmincon MATLAB function). As you can notice I print values and check the whether x and g satisfy the bounds. And as a matter of fact they do! Maybe there are some issues with options of the IPOPT? May you help me in dealing with this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I tried to play with the
|
Beta Was this translation helpful? Give feedback.
-
Looking at your constraint, it doesn't seem correct that the Jacobian you provide is zero. |
Beta Was this translation helpful? Give feedback.
Corrected the code by changing the line:
nnz_jac_g = n*m;
Added the following code to Jacobian part:
Added the line:
app->Options()->SetStringValue("jacobian_approx…