How to solve optimization problems with constraints of differential equations constraints ?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen

I want to use the fmincon function but I don't know how to write constraints with differential equations.
2 Kommentare
Sam Chak
am 30 Aug. 2024
Are you able to find some relevant constrained problems in the fmincon documentation?
Antworten (1)
Sam Chak
am 30 Aug. 2024
Hi @xin
This optimization problem in this example has the following:
- a linear equality constraint,
- three linear inequality constraints,
- a nonlinear equality constraint, and
- two nonlinear inequality constraints.
Follow the example to correctly describe the constraints in your code. Start with a simple univariate problem before progressing to a multivariate problem.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Nonlinear Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!