Suppress "Optimization Terminated" message
3 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Systems of Nonlinear Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!