Adding inequality constraints in DAE system

5 views (last 30 days)
Hello All,
I am trying to solve a DAE system with couple of inquality constraints. Can anyone help me out on how can i model them in MATLAB DAE solver such as ode15s or ode15i?

Accepted Answer

Torsten on 20 Sep 2023
Edited: Torsten on 20 Sep 2023
You can't.
These problems usually appear in optimal control problems where the DAE integrator is coupled with an optimizer. Parameters in the DAE system are adjusted by the optimizer such that the inequalities hold while a given objective is minimized or maximized. The task of ode15s or ode15i will be to integrate the systems of differential and algebraic equalities with varying parameter input.

More Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!