Skip to content
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

Why inequality constraint second derivative w.r.t. state or input need to be negative semi-definite? #18

Closed
matheecs opened this issue Sep 15, 2021 · 1 comment

Comments

@matheecs
Copy link

No description provided.

@farbod-farshidian
Copy link
Contributor

OCS2 assumes optimization problems with inequality constitution of type h(x, u) >= 0, and at each iteration of MPC, OCS2 uses the second-order approximation of this inequality constraint.
To find a solution for each sub-problem, the feasible set of the sub-problem should be a convex set. This is the case if the hessian of h(x, u) is n.s.d.
As a simple example for a system with one state and one input: x^2 + u^2 – 1 > 0 is not a convex set but -x^2 - u^2 + 1 > 0 is a convex set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants