Suppress "Optimization Terminated" message
3 次查看(过去 30 天)
显示 更早的评论
Can someone tell me why this R2014a code
intlinprogOptions = optimoptions('intlinprog', 'Display', 'off', 'MaxTime', 120, 'NodeSelection', 'simplebestproj', 'IPPreprocess', 'basic');
try
[x,fval,ExitFlag,~] = intlinprog(values,intcon,a',b,[],[],lb,ub,intlinprogOptions);
catch err
CrashCount = CrashCount + 1;
fprintf(FileIDLog, 'Intlinprog crash with default options with error identifier %s \r\n', err.identifier);
end
Still results in a stream of "Optimization Terminated" messages when run? I thought setting Display to Off with optimoptions would suppress this?
I also have the same problem with this R2011b code
bintprogOptions = optimset('Display', 'off', 'NodeDisplayInterval', 50, 'BranchStrategy', 'maxinfeas', 'MaxTime', 120, 'NodeSearchStrategy', 'bn', 'TolXInteger', 1.0e-6);
try
[x,fval,ExitFlag] = bintprog(values, a', b, [],[],[],bintprogOptions);
catch err
CrashCount = CrashCount + 1;
fprintf(FileIDLog, 'Bintprog crash with default options with error identifier %s \r\n',err.identifier);
Thanks! end
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!