Intlinprog停止,因为它超过了期限,选择。MaxTime = 1800(选中的值)。
intlinprog优化RelativeGapTolerance小于设定值时不能停止
1视图(30天)
显示旧的评论
选择= optimoptions (“intlinprog”,“显示”,“通路”,…
“RelativeGapTolerance”,4/100,…
“AbsoluteGapTolerance”,0.8,…
“MaxTime”60 * 60 * 0.5);
[x, fval exitflag、输出]= intlinprog (f intcon A、b[],[],磅,乌兰巴托,[],选择);
如图,根据设定,当RelativeGapTolerance < 0.04的时候算法应该停止优化,但实际上还在继续,请问是怎么回事?