poster
2019-12-03, 04:39
我正在尝试使用MatLab的fmincon函数和“ Interior point”算法来解决非线性约束优化问题。问题在于应力约束下的体积最小化。该求解器已成功应用于我的问题,但效果不佳,音量应下降更多。优化器找到一个局部最小值,但是优化在显示一次按摩的3次迭代后停止:
Local minimum possible. Constraints satisfied. fmincon stopped because the size of the current step is less than the selected value of the step size tolerance and constraints are satisfied to within the selected value of the constraint tolerance. 使用的选项:
The options that I use: options=optimset('Algorithm','interior-point','Display','iter-detailed',... 'MaxFunEvals',10000,'TolX',1e-20,'TolFun',1e-20,','DiffMinChange',1e-1); 我不知道如何使用算法“ Interior point”将OptimalityTolerance更改为1e-6。我尝试了:
opts = optimoptions('fmincon','OptimalityTolerance',1e-12); 但是,如果我运行此程序,则OptimalityTolerance保持在1e-6,无论我以前使用什么,结果都没有变化。
https://i.stack.imgur.com/jCSzc.png (https://i.stack.imgur.com/jCSzc.png)
更多&回答... (https://stackoverflow.com/q/59145978)
Local minimum possible. Constraints satisfied. fmincon stopped because the size of the current step is less than the selected value of the step size tolerance and constraints are satisfied to within the selected value of the constraint tolerance. 使用的选项:
The options that I use: options=optimset('Algorithm','interior-point','Display','iter-detailed',... 'MaxFunEvals',10000,'TolX',1e-20,'TolFun',1e-20,','DiffMinChange',1e-1); 我不知道如何使用算法“ Interior point”将OptimalityTolerance更改为1e-6。我尝试了:
opts = optimoptions('fmincon','OptimalityTolerance',1e-12); 但是,如果我运行此程序,则OptimalityTolerance保持在1e-6,无论我以前使用什么,结果都没有变化。
https://i.stack.imgur.com/jCSzc.png (https://i.stack.imgur.com/jCSzc.png)
更多&回答... (https://stackoverflow.com/q/59145978)