ALIMENTATION AGRICULTURE ENVIRONNEMENT Max-CSP solver competition 2008 toulbar2 Marti Sanchez 1, Sylvain Bouveret 2, Simon de Givry 1, Federico Heras 3,

Slides:



Advertisements
Similar presentations
Hybrid BDD and All-SAT Method for Model Checking Orna Grumberg Joint work with Assaf Schuster and Avi Yadgar Technion – Israel Institute of Technology.
Advertisements

Slides by Peter van Beek Edited by Patrick Prosser.
Non-Binary Constraint Satisfaction Toby Walsh Cork Constraint Computation Center.
Constraint Satisfaction Patrick Prosser. An Example, Exam Timetabling Someone timetables the exams We have a number of courses to examine how many? Dept.
University of Toronto Mechanical & Industrial Engineering An Introduction to Constraint Programming J. Christopher Beck Dept. of Mechanical & Industrial.
Tree Clustering for Constraint Networks 1 Chris Reeson Advanced Constraint Processing Fall 2009 By Rina Dechter & Judea Pearl Artificial Intelligence,
Interactive Configuration
This lecture topic (two lectures) Chapter 6.1 – 6.4, except
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
This lecture topic (two lectures) Chapter 6.1 – 6.4, except 6.3.3
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Constraint Satisfaction problems (CSP)
IJCAI Russian Doll Search with Tree Decomposition Martí Sànchez, David Allouche, Simon de Givry, and Thomas Schiex INRA Toulouse, FRANCE.
Join-graph based cost-shifting Alexander Ihler, Natalia Flerova, Rina Dechter and Lars Otten University of California Irvine Introduction Mini-Bucket Elimination.
Constraint Optimization Presentation by Nathan Stender Chapter 13 of Constraint Processing by Rina Dechter 3/25/20131Constraint Optimization.
Optimal Rectangle Packing: A Meta-CSP Approach Chris Reeson Advanced Constraint Processing Fall 2009 By Michael D. Moffitt and Martha E. Pollack, AAAI.
ROTAMER OPTIMIZATION FOR PROTEIN DESIGN THROUGH MAP ESTIMATION AND PROBLEM-SIZE REDUCTION Hong, Lippow, Tidor, Lozano-Perez. JCC Presented by Kyle.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
1 Consistencies for Ultra-Weak Solutions in Minimax Weighted CSPs Using the Duality Principle Arnaud Lallouet 1, Jimmy H.M. Lee 2, and Terrence W.K. Mak.
Foundations of Constraint Processing, Spring 2008 April 16, 2008 Tree-Structured CSPs1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
Soft constraint processing Thomas Schiex INRA – Toulouse France Pedro Meseguer CSIC – IIIA – Barcelona Spain Special thanks to: Javier Larrosa UPC – Barcelona.
Anagh Lal Monday, April 14, Chapter 9 – Tree Decomposition Methods Anagh Lal CSCE Advanced Constraint Processing.
Cost function optimization & local consistency Thomas Schiex INRA – Toulouse France.
Foundations of Constraint Processing, Fall 2005 October 20, 2005Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Constraint Satisfaction Problems
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
M. HardojoFriday, February 14, 2003 Directional Consistency Dechter, Chapter 4 1.Section 4.4: Width vs. Local Consistency Width-1 problems: DAC Width-2.
Soft constraints. Classical (hard) Constraints Variables {X 1,…,X n }=X Variables {X 1,…,X n }=X Domains {D(X 1 ),…,D(X n )}=D Domains {D(X 1 ),…,D(X.
General search strategies: Look-ahead Chapter 5 Chapter 5.
Chapter 5 Outline Formal definition of CSP CSP Examples
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
Nogood Recording for Static and Dynamic Constraint Satisfaction Problems Thomas Schiex, Gerard Verfaillie C.E.R.T.-O.N.E.R.A.(France)
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Constraint Satisfaction Read Chapter 5. Model Finite set of variables: X1,…Xn Variable Xi has values in domain Di. Constraints C1…Cm. A constraint specifies.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
CSC 423 ARTIFICIAL INTELLIGENCE Constraint Satisfaction Problems.
Applications of Dynamic Programming and Heuristics to the Traveling Salesman Problem ERIC SALMON & JOSEPH SEWELL.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
An Introduction to Artificial Intelligence Lecture 5: Constraint Satisfaction Problems Ramin Halavati In which we see how treating.
Performance of Distributed Constraint Optimization Algorithms A.Gershman, T. Grinshpon, A. Meisels and R. Zivan Dept. of Computer Science Ben-Gurion University.
William Lam March 20, 2013 (with slides from the IJCAI-09 tutorial on Combinatorial Optimization for Graphical Models) Discrete Optimization via Branch.
Soft constraint processing Thomas Schiex INRA – Toulouse France Pedro Meseguer CSIC – IIIA – Barcelona Spain Special thanks to: Javier Larrosa UPC – Barcelona.
Join-graph based cost-shifting Alexander Ihler, Natalia Flerova, Rina Dechter and Lars Otten University of California Irvine Introduction Mini-Bucket Elimination.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
Eliminating non- binary constraints Toby Walsh Cork Constraint Computation Center.
Branch-and-Bound & Beam-Search. Branch and bound Enumeration in a search tree each node is a partial solution, i.e. a part of the solution space... root.
Constraint Programming
Hybrid BDD and All-SAT Method for Model Checking
Structure-Based Methods Foundations of Constraint Processing
Consistency Methods for Temporal Reasoning
Constraint Satisfaction Problems (CSPs)
The CPLEX Library: Mixed Integer Programming
An Overview of Soft Constraints
Constraint Optimization And counting, and enumeration 275 class
Constraint Propagation
Structure-Based Methods Foundations of Constraint Processing
More on Constraint Consistency
Structure-Based Methods Foundations of Constraint Processing
Structure-Based Methods Foundations of Constraint Processing
Backtracking search: look-back
More on Constraint Consistency
Constraints and Search
Chapter 5: General search strategies: Look-ahead
Structure-Based Methods Foundations of Constraint Processing
An Introduction Structure-Based Methods
Structure-Based Methods Foundations of Constraint Processing
Presentation transcript:

ALIMENTATION AGRICULTURE ENVIRONNEMENT Max-CSP solver competition 2008 toulbar2 Marti Sanchez 1, Sylvain Bouveret 2, Simon de Givry 1, Federico Heras 3, Philippe Jegou 4, Javier Larrosa 3, Samba Ndiaye 4, Emma Rollon 3, Thomas Schiex 1, Cyril Terrioux 4, Gerard Verfaillie 2, Matthias Zytnicki 1 1. INRA, Toulouse, France 2. ONERA, Toulouse, France 3. UPC, Barcelona, Spain 4. LSIS, Marseilles, France

ALIMENTATION AGRICULTURE ENVIRONNEMENT Framework: Weighted CSP m (X,D,W,m) n X={X 1,..., X n } n variables nd D={D 1,..., D n } n finite domains of maximum size d e W, a set of e cost functions W S, W i, W ∅ with scopes S, {X i }, ∅ m W S associates a cost in [0,m] to any assignment of S m  [1,+  ] m  [1,+  ] is associated to completely forbidden assignments A Find a complete assignment A minimizing ∑ S  W W S ( A[S] ) NP-hard problem

ALIMENTATION AGRICULTURE ENVIRONNEMENT Depth-First Branch and Bound (DFBB) (LB) Lower Bound (UB) Upper Bound If  UB then prune Variables under estimation of the best solution in the sub-tree = best solution so far Each node is a soft constraint subproblem LB WWWW W  = W  m = m O(d n ) Time complexity: O(d n ) O(n) Space complexity: O(n) m Obtained by enforcing soft local consistency Binary branching scheme instead of value enumeration Dynamic variable and value ordering heuristics No initial upper bound

Enforcing local consistency by Equivalence Preserving Transformations X1X2 W  =0 1 1 Cost extension from a unary to a binary cost function X1X W  =0 Cost projection from a binary to a unary cost function X1X2 2 W  = X1X2 W=1W=1 2 Cost projection from a unary cost function to W to W 

ALIMENTATION AGRICULTURE ENVIRONNEMENT Hierarchy NC * O(nd) AC * O(n 2 d 3 )DAC * O(ed 2 ) FDAC * O(end 3 ) AC NC DAC Special case: CSP (m=1) EDAC * O(ed 2 max{nd,m}) VAC O(ed 2 m/  )  [0,1] OSAC O(poly(ed+n)) Solve tree-like constraint graphs Solve submodular cost functions Non-binary constraints GAC Ternary EDAC O(ed 3 max{nd,m})

ALIMENTATION AGRICULTURE ENVIRONNEMENT Last-conflict variable heuristic (Lecoutre et al, 2006) Basic form of Conflict Back-Jumping

ALIMENTATION AGRICULTURE ENVIRONNEMENT Boosting search with variable elimination (Larrosa and Dechter, 2003) At each search node Eliminate all unassigned variables with degree ≤ p Select an unassigned variable x Branch on the values of x Properties BB-VE(-1) is Depth-First Branch and Bound BB-VE(w) is Variable Elimination BB-VE(1) is similar to Cycle-Cutset BB-VE(2) is well suited with soft local consistencies (add binary constraints only, independent of the elimination order)

ALIMENTATION AGRICULTURE ENVIRONNEMENT Depth-First Branch and Bound exploiting a Tree Decomposition (Terrioux et al, ECAI 2004) (Givry et al, AAAI 2006) Toulbar2/BTD MCS tree decomposition heuristic (Marseilles’ toolkit) in preprocessing Root selection maximizing cluster size Same search as DFBB inside clusters (DVO, CBJ, VE(2)) Limited caching (keep only small separators, s=4) Soft-08 workshop Russian Doll Search pruning scheme (Soft-08 workshop) ts t = largest cluster size, s = largest separator size Tree search with Restricted variable ordering Restricted variable ordering Graph-based backjumping Graph-based backjumping Graph-based learning Graph-based learning Time: O(d t ) Time: O(d t ) Space: O(d s ) Space: O(d s )

ALIMENTATION AGRICULTURE ENVIRONNEMENT toulbar2 Open source WCSP solver in C++ (release 0.7) Large set of benchmarks Frequency assignment (Cabon et al., 1999) n≤458, d=44, e(2)≤5000 Satellite management (Bensana et al., 1999) n≤364, d=4, e(2-3)≤10108 Mendelian error detection (Sanchez et al, 2008) n≤20000, d≤66, e(3)≤30000 RNA gene finding (Zytnicki et al, 2008) n≈20, d>100 million!, e(4)≈10 Tag SNP selection (Sanchez et al, 2008) n≤251, d≤175, e(2)≤13649 … Link to ILOG Solver Encapsulates a WCSP as a global constraint