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