How to solve optimization problems with constraints of differential equations constraints ?
조회 수: 2 (최근 30일)
이전 댓글 표시

I want to use the fmincon function but I don't know how to write constraints with differential equations.
댓글 수: 2
Sam Chak
2024년 8월 30일
Are you able to find some relevant constrained problems in the fmincon documentation?
답변 (1개)
Sam Chak
2024년 8월 30일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!