Solving Finite Domain Hierarchical Constraint Optimization Problems By Lua Seet Chong Supervised By A.P. Martin Henz 9th March 2001.

Slides:



Advertisements
Similar presentations
Slides of the Invited Talk at the CAEPIA Workshop on Planning, Scheduling and Temporal Reasoning (Held on November 11, 2003 by Alexander Nareyek) Note.
Advertisements

Constraint Satisfaction Problems Russell and Norvig: Parts of Chapter 5 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2004/home.htm Prof: Dekang.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
“Using Weighted MAX-SAT Engines to Solve MPE” -- by James D. Park Shuo (Olivia) Yang.
1 Backdoor Sets in SAT Instances Ryan Williams Carnegie Mellon University Joint work in IJCAI03 with: Carla Gomes and Bart Selman Cornell University.
Lecture 10: Integer Programming & Branch-and-Bound
Progress in Linear Programming Based Branch-and-Bound Algorithms
Improving Market-Based Task Allocation with Optimal Seed Schedules IAS-11, Ottawa. September 1, 2010 G. Ayorkor Korsah 1 Balajee Kannan 1, Imran Fanaswala.
CPSC 322, Lecture 15Slide 1 Stochastic Local Search Computer Science cpsc322, Lecture 15 (Textbook Chpt 4.8) February, 6, 2009.
Methods for SAT- a Survey Robert Glaubius CSCE 976 May 6, 2002.
Heuristics for Efficient SAT Solving As implemented in GRASP, Chaff and GSAT.
08/1 Foundations of AI 8. Satisfiability and Model Construction Davis-Putnam, Phase Transitions, GSAT Wolfram Burgard and Bernhard Nebel.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
NORM BASED APPROACHES FOR AUTOMATIC TUNING OF MODEL BASED PREDICTIVE CONTROL Pastora Vega, Mario Francisco, Eladio Sanz University of Salamanca – Spain.
Hierarchical Reinforcement Learning Ersin Basaran 19/03/2005.
Solving the Protein Threading Problem in Parallel Nocola Yanev, Rumen Andonov Indrajit Bhattacharya CMSC 838T Presentation.
1 Backdoors To Typical Case Complexity Ryan Williams Carnegie Mellon University Joint work with: Carla Gomes and Bart Selman Cornell University.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2007.
Knowledge Representation II (Inference in Propositional Logic) CSE 473 Continued…
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
1 Message Passing and Local Heuristics as Decimation Strategies for Satisfiability Lukas Kroc, Ashish Sabharwal, Bart Selman (presented by Sebastian Brand)
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
1 Constraint Programming: An Introduction Adapted by Cristian OLIVA from Peter Stuckey (1998) Ho Chi Minh City.
Decision Procedures An Algorithmic Point of View
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
CSE 242A Integrated Circuit Layout Automation Lecture: Partitioning Winter 2009 Chung-Kuan Cheng.
1 Coupling Aware Timing Optimization and Antenna Avoidance in Layer Assignment Di Wu, Jiang Hu and Rabi Mahapatra Texas A&M University.
Building “ Problem Solving Engines ” for Combinatorial Optimization Toshi Ibaraki Kwansei Gakuin University (+ M. Yagiura, K. Nonobe and students, Kyoto.
June 21, 2007 Minimum Interference Channel Assignment in Multi-Radio Wireless Mesh Networks Anand Prabhu Subramanian, Himanshu Gupta.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
1 Agenda Modeling problems in Propositional Logic SAT basics Decision heuristics Non-chronological Backtracking Learning with Conflict Clauses SAT and.
Stocs – A Stochastic CSP Solver Bella Dubrov IBM Haifa Research Lab © Copyright IBM.
Heavy-Tailed Phenomena in Satisfiability and Constraint Satisfaction Problems by Carla P. Gomes, Bart Selman, Nuno Crato and henry Kautz Presented by Yunho.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Searching by Constraint CMSC Artificial Intelligence January 24, 2008.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
Column Generation By Soumitra Pal Under the guidance of Prof. A. G. Ranade.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
Chapter 5 Constraint Satisfaction Problems
Roman Barták Visopt B.V. (NL) / Charles University (CZ) IP&S in complex and dynamic areas Visopt Experience.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2009.
Chapter 2) CSP solving-An overview Overview of CSP solving techniques: problem reduction, search and solution synthesis Analyses of the characteristics.
SAT 2009 Ashish Sabharwal Backdoors in the Context of Learning (short paper) Bistra Dilkina, Carla P. Gomes, Ashish Sabharwal Cornell University SAT-09.
Review of Propositional Logic Syntax
Accelerating Random Walks Wei Wei and Bart Selman.
Heuristics for Efficient SAT Solving As implemented in GRASP, Chaff and GSAT.
Assigning Judges to Competitions Using Tabu Search Approach Amina Lamghari Jacques A. Ferland Computer science and OR dept. University of Montreal.
Feature Selction for SVMs J. Weston et al., NIPS 2000 오장민 (2000/01/04) Second reference : Mark A. Holl, Correlation-based Feature Selection for Machine.
A Fully Polynomial Time Approximation Scheme for Timing Driven Minimum Cost Buffer Insertion Shiyan Hu*, Zhuo Li**, Charles Alpert** *Dept of Electrical.
Task Mapping and Partition Allocation for Mixed-Criticality Real-Time Systems Domițian Tămaș-Selicean and Paul Pop Technical University of Denmark.
Constraint Programming for the Diameter Constrained Minimum Spanning Tree Problem Thiago F. Noronha Celso C. Ribeiro Andréa C. Santos.
Roman Barták (Charles University in Prague, Czech Republic) ACAT 2010.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Unified Adaptivity Optimization of Clock and Logic Signals Shiyan Hu and Jiang Hu Dept of Electrical and Computer Engineering Texas A&M University.
Wolfgang Runte Slide University of Osnabrueck, Software Engineering Research Group Wolfgang Runte Software Engineering Research Group Institute.
Data Driven Resource Allocation for Distributed Learning
Optimization Problems
Computer Science cpsc322, Lecture 14
SAT-Based Area Recovery in Technology Mapping
Incorporating Constraint Checking Costs in Constraint Satisfaction Problem Suryakant Sansare.
Constraint Satisfaction Problems. A Quick Overview
Chapter 1. Formulations.
Constraint Satisfaction Problems
Discrete Optimization
Presentation transcript:

Solving Finite Domain Hierarchical Constraint Optimization Problems By Lua Seet Chong Supervised By A.P. Martin Henz 9th March 2001

Outline Motivation, Project Background Constraint Hierarchies Tree Search Local Search Experimental Results: –Gate Allocation Problem –Sports Scheduling Problem Conclusion

“Integrate” Project Background Solve the gate allocation problem Domain knowledge provided by CAAS and Changi Airport KRDL provides the management support Sponsored by NSTB

Motivation Gate Allocation Problems: –large combinatorial optimization problems with many complex soft and “easy” hard constraints Local Search Constraint Hierarchies Flexibility of using symbolic constraints

Previous Works Constraint Hierarchies Hierarchical Constraint Logic Programming, Alan Borning, 1992 Over-constrained Integer Programming WSAT(OIP), Joachim Paul Walser, 1997

Problem Encoding Propositional Satisfiability Problems (SAT) –represent the problem in CNF Constraint Satisfaction Problems (CSP) –allow many types of formulation –example: linear programming

Why CSP is successful Clean separation between problem encodings and problem solving techniques Flexibility to extend the problem encoding by adding new constraint type Synergy: problem solving techniques for all constraint types work with each other.

Over-Constrained Problems Constraint problems where conflicting constraints exist Hierarchical Constraints

Constraint Hierarchies

Constraint Hierarchy Example Constraints c a : y = -x + 10 c b : y  4x c c : y  x + 8 c d : y  5 Constraint Hierarchy C 0 : { c a } C 1 : {c b, c c } C 2 : { c d }

Feasible Region Bounded by Cb and Cb

Constraint Hierarchy Example e(c a ) = 0 e(c b ) = 2.3 e(c c ) = 0 e(c d ) = 1 e(c a ) = 0 e(c b ) = 0 e(c c ) = 0 e(c d ) = 4 Weighted-Sum-Better P2:{x  4, y  6} P3:{x  1, y  9}

Constraint Hierarchy Example e(c a ) = 0 e(c b ) = 0 e(c c ) = 0 e(c d ) = 3 e(c a ) = 0 e(c b ) = 0 e(c c ) = 0 e(c d ) = 4 Weighted-Sum-Better P4:{x  2, y  8} P3:{x  1, y  9}

Constraint Hierarchy X : set of variables For each x  X, D x : finite set of values that x can take k-nary constraint over variables x 1,…, x k is a relation over D x 1  …  D x k

Constraint Hierarchy Constraint Hierarchy, C H is a vector  C 0,C 1,…,C n  where for each 0  i  n, C i is a multiset constraints of rank i C 0 contains required (hard) constraints C 1,…,C n denote preferential (soft) constraints

Constraint Hierarchy A valuation  is a function that maps the variables in X to elements in the domain D Solution set S 0 = {  |  c  C 0, c  holds} Optimal solution set, S better = {   S 0 |   S 0,  better( ,  )}

Constraint Hierarchy Comparator weighted-sum-better( ,  )   k. 1  k  n such that  i  {1…k-1}. rank-sum( ,C i ) = rank-sum( , C i )  rank-sum( ,C k ) < rank-sum( , C k )

Constraint Hierarchy rank-sum( ,C i )   c  Ci w(c)e(c  ) where w(c) is a real number weight for constraint c and e(c  ) is an error function

Tree Search

Finite Domain Constraint Programming Successful technique for solving combinatorial problems. 3 main components: –Propagation Algorithms –Branching Algorithms –Exploration Algorithms

Branching Algorithms Assume –a stable constraint store s and –a branching constraint c A branching algorithm make use of a branching constraint c looking into 2 new constraint stores s  c and s   c

Enumeration Algorithms Enumeration algorithm if c is in the form of x = v 2 heuristics: –variable selection heuristic –value selection heuristic

Cost Driven Value Selection A value selection heuristic that order the values using the cost variable 2 Variant of Search: Cost Driven Search Cost Driven Descent

Cost Driven Value Selection

Hierarchical Cost Driven Value Selection Order the values within a variable according to the hierarchical comparator instead of a integer comparator

Local Search

Walk Search Background GSAT, WSAT  WSAT(OIP) [Bart Selman and Henry Kautz, 1993] WSAT(OIP) generalized the SAT problem solving techniques to solve over- constrained integer programming problems [Walser 1997]

WalkSearch Algorithm Proc WalkSearch(C, X, Max_moves, Max_tries) for i:= 1 to Max_tries do  := an initial assignment ;  _best :=  ; for j := 1 to Max_moves do if  meets solution stopping condition then return  ; if  is feasible  improve( ,  _best, C) then  _best :=  ; c := select-unsatisfied-constraint(C, X,  ); := select-partial-repair(C, X, c,  );  :=  [x k  v]; end return  _best; end

Generalization of WSAT(OIP) Any constraints (i.e non-linear, symbolic) –select-partial-repair Constraint hierarchy –improve –select-unsatisfied-constraint

select-partial-repair Generate the VarValue pairs Remove tabued VarValue pairs Choose VarValue pair that give the highest score. Tie breaking using i) least frequently ii) longest time ago If the chosen VarValue pair does not improve the global score, choose any pair from VarValue with probability p noise

select-unsatisfied-constraint hardOrSoft, select a violated constraint in C 0 with probability P hard topOrRest, select a violated constraint in top most unsatisfied rank with probability P top rankProb, select a violated constraint in C i with probability P i consProb, select a violated constraint in C i with a dynamic probability D p i which is P i |C i | violated  j  {0,…,n} P j |C j | violated

Why consProb? CiCi Rank i PiPi rankProb consProb 1/111  100 = /111  10 = /111  1000 = Prob. for selecting a constraint in rank i (10) (100) (1)(1)

Gate Allocation Problem

Gate Allocation Problem (GAP) Allocating gates to arriving and departing aircrafts, Haghani, 1998, Yu Cheng, 1998 Minimizing Transfer Walking Distance Work on instances from Changi Airport

GAP constraints No Overlapping - No two aircraft can be allocated to the same gate simultaneously Aircraft Type - Particular gates can be restricted to admit only certain aircraft types Push Back - An aircraft leaving a gate (push- back) will restrict other operations in close temporal and spatial vicinity 22 more constraints

GAP 0/1 Model GAP with m aircrafts and n gates m  n 0/1 variables Y ij are introduced where 1  i  m and 1  j  n Y ij = 1 iff aircraft i is allocated to gate j

Example: 0/1 Model of No Overlapping If aircraft i and k has overlapping ground time, for every gate j where 1  j  n Y ij + Y kj  1

GAP Finite Domain Model GAP with m aircrafts and n gates For each aircraft i, X i is introduced to represent the gate aircraft i uses The domain of X i is 1 to n X i = j iff aircraft i is allocated to gate j

Example: FD Model of No Overlapping For each maximal set of aircraft S whose ground time overlaps, a symbolic constraint alldiff(S) is introduced

Objectives of Experiments Comparing 0/1 model vs finite domain model Comparing the performance of proposed constraint selection scheme

Setup of Experiments For each problem model, benchmark problem and constraint selection scheme –pNoise (0.0, 0.1, …, 0.5) –5 probability distributions among ranks 8:4:2:1 9:0.33:0.33:0.33 8:0.5:0.5:1 6:1:1:2 1000:100:10:1

Setup of Experiments Small benchmarks allow optimality comparison –use CPLEX to find optimal solution –count how often optimal solution is reached Large benchmarks –compare scaling behavior –use relative solution quality to compare

Benchmark Problems Small Problem (P1 - P6) –ranging from flights Bigger Problem (P7 - P15) –ranging from flights

Comparison of Solving Time

Performance of Finite Domain vs 0/1 Model using Best select-unsatisfied-constraint

Performance of Finite Domain vs 0/1 Model for Bigger Test Cases

Performance of Different Constraint Selection Scheme on FD Model

Performance of Different Constraint Selection Scheme on 0/1 Model

Performance of Different Constraint Selection Scheme on FD Model for Bigger Test Cases

Performance of Different Constraint Selection Scheme on 0/1 Model for Bigger Test Cases

Hierarchical Cost Driven Descent on GAP ProblemsPessimistic HCDSOptimistic HCDS P1[ ] P2[ ][ ] P3[ ][ ] P4[ ][ ] P5[ ][ ] P6-- P7[ ][ ] P8[ ][ ]

Experimental Result Summary Finite Domain model allows WalkSearch solver to works better than 0/1 model Constraint hierarchy specific select-unsatisfied-constraint perform better (ConsProb, RankProb) Hierarchical Cost Driven Descent is able to find reasonably good solution

Sports Scheduling Problem

Number of Moves to Solve ACC Problem WalkSearch WSAT(OIP)

CPU Time Taken to Solve ACC Problem WalkSearch WSAT(OIP)

Experimental Result Summary WalkSearch solver works for a non- hierarchical constraint problem WalkSearch solver works as good as WSAT(OIP) WalkSearch find solution more frequently than WSAT(OIP) but it runs slower

Conclusion

Empirical Study on Changi Airport Gate Allocation Problem Hierarchical Cost Driven Descent is able to solve Gate Allocation Problem

Conclusion Adapted Contraint Hierarchies to Finite Domain Problem –Hierarchy-specific constraint selection scheme helps to find better solutions WalkSearch Solver can solve both 0/1 and Finite Domain Hierarchical Constraint Problems

Acknowledgement Integrate project members –Roland H. C. Yap –J. Paul Walser –Lim Yun Fong –Shi Xiao Ping –Hu You Lan We thank Civil Aviation Authority of Singapore, Kent Ridge Digital Labs for providing documents and test data sets on the Changi Airport gate allocation problem.

Thank You