IBM ILOG Solver Debugger User's Manual > Debugging and Performance Tuning for Solver-based Applications > Visualizing Propagation > Tracing the Propagation at a Specific Node |
Tracing the Propagation at a Specific Node |
INDEX
![]() |
Because of the nondeterministic nature of the search, it is not possible to draw the tree in advance. A second run is necessary to focus on a segment of the tree.
You can access statistical information about the Initial Propagation through the Search Tree root.
To trace the propagation at a specific node, proceed as follows:
You can register conditional breakpoints in your code so that as soon as a condition becomes true, the execution is interrupted. You can use three types of conditional breakpoints:
For example, in the debugjobshopm example, uncomment the following line:
debugger.breakIfDomainMaxLe(_makespan),60);
The execution will be interrupted when the maximum of the makespan
domain is lower than or equal to the value 60
.
Conditional breakpoints are extracted by the initialize
member function. So make sure you set the conditional breakpoints before the call to the member function IlcSolverDebugger::initialize()
.
You can also call the member function IlcSolverDebugger::breakExecution()
in your own goals.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |