I'm writing an optimization program.Since the optimization might be quite time consuming,I need to output some status message to tell the user what's going on.
How can I get detailed message about the optimizer?I don't think method like IloCplex::getCplexStatus() is enough.
I think the information in "Engine log" of Cplex Optimization Studio is a good choice,but how can I get it?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2012-11-10T06:38:14Z by SystemAdmin
Pinned topic How to get status message while solving the problem? OPL&C++ development
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-10T06:38:14Z at 2012-11-10T06:38:14Z by SystemAdmin
SystemAdmin 110000D4XK1883 PostsACCEPTED ANSWER
Re: How to get status message while solving the problem? OPL&C++ development2012-11-10T06:38:14Z in response to SystemAdminI think I've found a solution,use IloCplex.setOut or IloCP.setOut to redirect the engine log: