Integrating CSP Decomposition Techniques and BDDs for Compiling Configuration Problems - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

Integrating CSP Decomposition Techniques and BDDs for Compiling Configuration Problems

Description:

An arrangement of parts. Valid Configuration- a valid arrangement. Valid according to some specified rules. NP-Hard problem. 3. www.itu.dk. Examples. Bike ... – PowerPoint PPT presentation

Number of Views:59
Avg rating:3.0/5.0
Slides: 24
Provided by: itu75
Category:

less

Transcript and Presenter's Notes

Title: Integrating CSP Decomposition Techniques and BDDs for Compiling Configuration Problems


1
Integrating CSP Decomposition Techniques and BDDs
for Compiling Configuration Problems
  • Sathiamoorthy Subbarayan
  • IT University of Copenhagen
  • Denmark
  • CP-AI-OR 2005

2
Configuration
  • An arrangement of parts
  • Valid Configuration- a valid arrangement
  • Valid according to some specified rules
  • NP-Hard problem

3
Examples
  • Bike
  • Car
  • PC
  • Power-Backup Systems
  • Controllers
  • Business Software

4
Problem Representation
  • Constraint Satisfaction Problem (CSP)
  • A set of variables and their domains
  • A set of rules/constraints on variable values
  • Configuration
  • - A legal assignment to all variables

5
Interactive Configurator
  • Interactively guides the user
  • Shows only valid extensions
  • User always in a consistent state

6
Required Functionalities
  • Propagate the user selections
  • Display the valid choices
  • Explain reasons for unselectable or implied
    options

7
Binary Decision Diagrams
A compressed representation of solutions
8
Previous work
  • Compile into a Binary Decision Diagram

configurator
BDD generation
lookup
BDD
BDD
Compilation
rules
offline
online
NP-hard
P
Problem! BDD size could explode
9
This work
  • Configuration rules have hierarchies
  • Hierarchies close to tree-shape
  • Tree Decomposition of CSP?
  • Space reduction?
  • (upto 96)
  • Response time reduction?
  • (upto 200x)

10
CSP to BDD compilation
BDD
CSP
11
Tree Decomposition of CSP
CSP
CSP
Tree-of-BDDs
12
Benefit of decomposition
BDD
Tree-of-BDDs
Potential Space Reduction
b1b2b3 ?lt bdd
-Online Configurators -Embedded Configurators
13
Required Functionalities
  • Propagate the user selections
  • Display the valid choices
  • Explain reasons for unselectable or implied
    options

14
Explanations
  • A partial assignment by the user might cause
    some options unselectable /implied
  • Explanation for such an option is the subset of
    the partial assignment that makes the option
    unselectable/implied
  • When user assignments are given priorities, we
    might need minimum explanations

15
Explanations in single BDD case
  • Variant of Shortest path problem in DAG
  • Assigned variable (vval)
  • 0 for val edges
  • 1 for other edges
  • Other variables
  • 0 for their edges
  • Shortest path from root to 1-node corresponds to
    an explanation

16
Example
  • Assign a0
  • Assign b1
  • e1 is implied

1
1
Explain e0?
Explanation b1
Can also handle priorities and non-Boolean
variables
17
Dont Care variables for Explain
  • In the example, necessary variables are a,b, and
    e
  • Variables c and d are hence dont cares for
    Explain

Abstraction !
18
Explanations in Tree-of-BDDs
Abstraction
b1
b2
b3
Join
Explanation
Explain
19
Experiments
  • Four Benchmarks
  • PC
  • Renault
  • Two PSR instances
  • 10000 random interactions
  • Comparison of
  • Space usage
  • Average and Worst time for Responses
  • Average and Worst time for Explanations
  • Tools
  • CLab an existing single BDD-based tool
  • iCoDE implementation of the tree-of-BDDs

20
Compilation Details
21
Time Comparisons
  • Response (PropagateDisplay)

22
Time Comparisons
  • Explanation

23
Conclusion
  • Decomposition results in
  • Space reduction
  • Shorter responses
  • Tree-of-BDDs can scale higher than the single BDD
    approach
  • Future work include
  • BDD variable orderings
  • Multi-valued Decision Diagrams
  • different decomposition techniques
Write a Comment
User Comments (0)
About PowerShow.com