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 个)

类别

Help CenterFile Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by