MATLAB中fmincon优化老错,如下,什么原因?

No feasible solution found.

fmincon stopped because the size of the current step is less than
the default value of the step size tolerance but constraints are not
satisfied to within the default value of the constraint tolerance.

<stopping criteria details>

No feasible solution found.   这句警告提示的意思是 找不到可行的解决方案。fmincon停止工作原因是因为当前的计算值小于步长值的默认值,其约束不是满足约束容差的默认值。

一般解决问题的途径,是调整自变量x0的初值。将原来的初值调小(调大另外还得检查求解的极值问题是否正确(即,可能其极值不存在)。

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答