Skip to main content
QUICK REVIEW

[Paper Review] Combining Propagation Information and Search Tree Visualization using ILOG OPL Studio

Christiane Bracchi, Christophe Gefflot|ArXiv.org|Nov 15, 2001
Software Testing and Debugging TechniquesComputer Science9 references4 citations
TL;DR

This paper presents a novel visualization framework in ILOG OPL Studio that integrates search tree exploration with constraint propagation tracking, introducing the 'Christmas Tree' view to correlate node exploration with propagation efficiency. By combining dynamic search tree visualization, propagation event tracing via the Propagation Spy, and performance statistics, the approach enables developers to identify performance bottlenecks and optimize constraint filtering levels, as demonstrated by a 50% reduction in propagation events and faster failure detection when using the extended filter level in the Golomb ruler problem.

ABSTRACT

In this paper we give an overview of the current state of the graphical features provided by ILOG OPL Studio for debugging and performance tuning of OPL programs or external ILOG Solver based applications. This paper focuses on combining propagation and search information using the Search Tree view and the Propagation Spy. A new synthetic view is presented: the Christmas Tree, which combines the Search Tree view with statistics on the efficiency of the domain reduction and on the number of the propagation events triggered.

Motivation & Objective

  • To improve debugging and performance tuning of constraint programming (CP) applications by integrating search tree and propagation information.
  • To provide developers with intuitive, interactive visual feedback on constraint propagation behavior during search.
  • To identify performance bottlenecks caused by insufficient pruning due to weak constraint filtering levels.
  • To evaluate the impact of different propagation levels (basic, extended, intermediate) on search tree size and propagation cost.
  • To introduce a synthetic visualization—'Christmas Tree'—that correlates node weight (propagation events and domain reduction) with search tree structure.

Proposed method

  • Dynamic visualization of the search tree using color-coded nodes to indicate state (e.g., green for solution, red for failure, yellow for current node).
  • Use of the Choice Stack panel to track the sequence of decisions along the current search path, with depth indicators.
  • Integration of the ILOG Solver 5.0 search monitor and trace mechanism to log propagation events and domain changes.
  • Development of the 'Propagation Spy' tool to trace and compare propagation sequences across different constraint filtering levels.
  • Creation of the 'Christmas Tree' view, a synthetic visualization combining search tree structure with real-time statistics on domain reduction and propagation event counts per node.
  • Application of the framework to the Golomb ruler problem to compare performance across three filter levels of the alldifferent constraint.

Experimental results

Research questions

  • RQ1How can propagation behavior during constraint solving be effectively visualized alongside search tree exploration?
  • RQ2What impact does the choice of constraint filtering level (basic, extended, intermediate) have on search tree size and propagation cost?
  • RQ3Can visual correlation of propagation events and node exploration help identify performance bottlenecks in CP programs?
  • RQ4To what extent does enhanced propagation (e.g., extended filter level) reduce unnecessary subtree exploration?
  • RQ5How can a unified visualization interface improve developer understanding of constraint solver behavior?

Key findings

  • The extended filter level of the alldifferent constraint reduced the number of propagation events in failure nodes by approximately 50% compared to the basic level, leading to faster failure detection.
  • The Christmas Tree visualization revealed that the extended filter level eliminated entire subtrees (with only failure leaves) that were present in the basic filter level, indicating improved pruning.
  • Initial propagation showed identical domain reduction efficiency (63.25%) across basic and extended filter levels, but the extended level triggered more propagation events with no additional benefit at the root.
  • The Propagation Spy identified that four 'Set Min' events were triggered on the difference[11] variable in the extended level, where only one was necessary, indicating redundant operations.
  • Switching to the intermediate filter level (bound-based reasoning) achieved the same search tree structure as the extended level but with fewer propagation events, demonstrating a more efficient trade-off.
  • The Christmas Tree view successfully highlighted performance-critical nodes by correlating high propagation cost with large, unproductive subtrees, enabling targeted optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.