MATLAB程序运行后,给出Warning: Trust-region-reflective algorithm does not solve this type of problem, using active-set( i- Z0 O- ?% \: Z c7 S
algorithm. You could also try the interior-point or sqp algorithms: set the Algorithm option to7 |6 r) n& w% X" v
'interior-point' or 'sqp' and rerun. For more help, see Choosing the Algorithm in the documentation. 2 J2 [! S7 A, C- e, c0 H9 V, t> In fmincon at 472* D4 F+ Y, y$ v8 |( {) v