Topic
IC4NOTICE: 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.
1 reply Latest Post - ‏2012-11-10T06:38:14Z by SystemAdmin
SystemAdmin
SystemAdmin
1883 Posts
ACCEPTED ANSWER

Pinned topic How to get status message while solving the problem? OPL&C++ development

‏2012-11-10T06:34:58Z |
Hi

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?
Updated on 2012-11-10T06:38:14Z at 2012-11-10T06:38:14Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1883 Posts
    ACCEPTED ANSWER

    Re: How to get status message while solving the problem? OPL&C++ development

    ‏2012-11-10T06:38:14Z  in response to SystemAdmin
    I think I've found a solution,use IloCplex.setOut or IloCP.setOut to redirect the engine log:

    https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14387927&#14387927