Filter löschen
Filter löschen

Error in optimization using fmincon

2 Ansichten (letzte 30 Tage)
NIKET shah
NIKET shah am 25 Jun. 2018
Kommentiert: Matt J am 25 Jun. 2018
1. Error : Not enough input arguments.
Error in fun (line 4) y = a1*Lh^2*x(1)^2 + b1*Lh*x(1) + a2*Lh^2*x(2)^2 + b2*Lh*x(2) + a3*Lh^2*x(3)^2 + b3*Lh*x(3);
2. Aeq must have one column.
If someone knows please help me out. Thank You.
  3 Kommentare
NIKET shah
NIKET shah am 25 Jun. 2018
Bearbeitet: Matt J am 25 Jun. 2018
i tried fixing the problem. This is what i am getting now. --------------------------------------------------
Local minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions, to within the default value of the optimality tolerance,
and constraints are satisfied to within the default value of the constraint tolerance.
<stopping criteria details>
Matt J
Matt J am 25 Jun. 2018
Looks like you fixed it!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with Optimization Toolbox 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!

Translated by