Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  Difference between LogVerbosity modes

    Posted Mon February 25, 2013 04:46 PM

    Originally posted by: humbleprogrammer


    Hi,

    According to the documentation at http://pic.dhe.ibm.com/infocenter/cosinfoc/v12r4/index.jsp?topic=%2Filog.odms.ide.help%2Frefdotnetopl%2Fhtml%2FF_ILOG_CP_CP_IntParam_LogVerbosity.htm about the values of the IloCP::LogVerbosity parameter:

    "Mode IloCP::Quiet does not display any information, the other modes display progressively more information"

    However, the output for the three LogVerbosity modes IloCP::Quiet, IloCP::Terse, IloCP::Normal, and IloCP::Verbose looks pretty much the same, the only noticeable difference is the line "LogVerbosity = <current mode>" at the beginning.

    So is there a case when the output is different for distinct LogVerbosity modes other than IloCP::Quiet or do they have the same effect?

    Thanks,
    Victor
    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: Difference between LogVerbosity modes

    Posted Tue February 26, 2013 01:27 PM

    Originally posted by: SystemAdmin


    Maybe ...
    
    cp.setParameter(IloCP::PropagationLog, IloCP::Verbose);
    

    ... is what you're looking for?
    #CPOptimizer
    #DecisionOptimization


  • 3.  Re: Difference between LogVerbosity modes

    Posted Fri March 01, 2013 09:02 AM

    Originally posted by: ChrisBr


    Hello Victor,

    In the definition
    IloCP::Quiet < IloCP::Terse < IloCP::Normal < IloCP::Verbose

    Actually, the current use is

    PropagationLog = IloCP::Quiet
    Don't display anything

    PropagationLog >= IloCP::Normal
    Display propagation information (according to the specified LogPeriod)

    This is true for the more recent version (12.5) and can change in another version (as mentioned in the documentation).

    I hope this clarifies,

    Chris.
    #CPOptimizer
    #DecisionOptimization