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
Sam Chak 2024년 8월 30일
Are you able to find some relevant constrained problems in the fmincon documentation?
xin
xin 2024년 8월 30일
In the help file, it seems that fmincon can only handle non-linear constraints.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sam Chak
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.

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by