Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Questions about node log

    Posted 04/06/17 10:10 AM

    Originally posted by: srinit34


    Hi

    Where is the default location of the node log and can it be changed every time solve() is invoked using an API?

    Does dynamic search result in some of the branching decisions not being reported in the node log?

    If we log every branching decision, is it faster than using a branch callback to record these decisions ( my guess is yes, because dynamic search is turned off with callbacks). What is the API call for logging every branching decision ?

    If the branching decision is A (i.e. multiple variables were branched upon) then how can we log all the branching conditions?

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Questions about node log

    Posted 04/06/17 10:25 AM

    When solving with an API CPLEX does not log to a file by default. How to get log output depends on the API:

    - In C use CPXaddfpdest() or CPXaddfuncdest() to add output to the log and result channel (as returned by CPXgetchannels())
    - In the object oriented APIs use the setOut() functions of the IloCplex class to register a class that receives and prints log output.

    With dynamic search, no branching decisions will be written to the log.

    There is no API call to log every branching decision. You can set parameter CPX_PARAM_MIPINTERVAL to 1 to get a node log line for each node processed. Detailed branching information can only be obtained with a branch callback. A branch callback will disable dynamic search, thus the solve will usually be slower. However, in order to get any sort of branching information you will have to disable dynamic search anyway.

     


    #CPLEXOptimizers
    #DecisionOptimization