做了一个简单matlab非线性优化问题,exitflag=0怎么解决,和文献上的对不上!求救大神渡我过此劫!

Solver stopped prematurely.

fmincon stopped because it exceeded the iteration limit,
options.MaxIter = 1000 (the default value).

x =

88.1335 9.8470

fval =

374.0201

exitflag =

0

output =

iterations: 1000
funcCount: 3907
constrviolation: 3.0900
stepsize: 0.0036
algorithm: 'interior-point'
firstorderopt: 4.1902
cgiterations: 2114
message: 'Solver stopped prematurely.…'

用fmincon求解非线性规划问题,在很大程度与初值的选定有较大的关系。可以调整x0的初值,当exitflag=1时,说明求解成功。
温馨提示:答案为网友推荐,仅供参考