필터 지우기
필터 지우기

How define limits of upper and lower bound in Fmincon having different variables

조회 수: 1 (최근 30일)
Hello,
My objective function X is consist of a Matrices , X0 = [E0NE;dxNE;a_NE]';
a_NE= [-0.3 0.01 0.08 0.08];
E0NE = [0.3 0.2 0.1 0.15];
dxNE = [0.1 0.18 0.35 0.37];
how i will define the LB and UB for this matrics , X0 is my initial guess.

채택된 답변

Matt J
Matt J 2022년 8월 11일
SInce X0 is 4x3, your LB and UB will be 4x3 as well.
  댓글 수: 4
Matt J
Matt J 2022년 8월 15일
It shouldn't be necessary to rewrite in terms of a 12x1 vector. Fmincon should flatten it automatically.
Torsten
Torsten 2022년 8월 15일
But Aeq and beq remain (nx12) and (nx1), resp. ?
If so, is x flattened rowwise or columnwise ?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by