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

5 views (last 30 days)
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.

Accepted Answer

Matt J
Matt J on 11 Aug 2022
SInce X0 is 4x3, your LB and UB will be 4x3 as well.
Torsten on 15 Aug 2022
But Aeq and beq remain (nx12) and (nx1), resp. ?
If so, is x flattened rowwise or columnwise ?

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!