MATLAB程序运行后,给出Warning: Trust-region-reflective algorithm does not solve this type of problem, using active-set% F4 G; K8 v# m" m$ f% D' n5 t) s( r
algorithm. You could also try the interior-point or sqp algorithms: set the Algorithm option to $ x5 N# ?# S+ g' O, e3 K; e. x 'interior-point' or 'sqp' and rerun. For more help, see Choosing the Algorithm in the documentation. ; c$ ~& {0 t, J> In fmincon at 472* ]) e3 Y0 d( U8 T