Originally posted by: TheOptimizer
I'm running an optimization using cplexmiqcp through MATLAB. I have several questions:
(1) What does error 6 and 5 mean?
6 Non-optimal Solution available. 5 Solution with numerical issues. 1 Function converged to a solution x.
How do they differ from "1". Are they a legitimate solution or not? Where can we learn more about what these mean?
(2) How can we learn more about altering the OPTIONS for optimization. I am currently using:
options = cplexoptimset('cplex');
options.diagnostics = 'on'; %write diagnostics to command windows in real time
options.output.clonelog = 0; % stops CPLEX from writing all those useless clone files
options.timelimit = 2000; % max time in seconds
options.mip.tolerances.mipgap = 0.05; %Set optimality Gap
It doesn't show any output to the command window. I also would like to know more about how to alter conditions to get best results.
For example, if I delete the above and use:
options = cplexoptimset('Display','iter','MaxIter',600,'TolFun',0.0001);
Then I get output directly to the command window, but I don't know how to do TIME LIMIT.
IBM's documentation on these issues and support is horrific.
If you can help me that would be great. I've very puzzled my optimizations continually come up with "5" and "6" as solutions rather than 1. Can I try anything to improve this situation?
Thanks very much,
LC
#CPLEXOptimizers#DecisionOptimization