Finding irreducible infeasible sets in inconsistent constraint satisfaction problems. Alain Hertz
|
|
- Samuel Holland
- 5 years ago
- Views:
Transcription
1 Finding irreducible infeasible sets in inconsistent constraint satisfaction problems Alain Hertz GERAD École Polytechnique Montréal, Canada This is a joint work with Philippe Galinier and Christian Desrosiers Ecole Polytechnique, Montréal
2 I II III IV V VI VII VIII IX The main idea An example : the k-coloring problem Problem formulation A crazy assumption Solution techniques A more realistic assumption A related problem What to do in practice Computational results
3 I The main idea Let P be a problem for which we are not able to determine any feasible solution. How can we prove that P has no feasible solution?. Determine a subproblem P for which we are also not able to determine any feasible solution. Prove that P has no feasible solution this proves that P also has no feasible solution
4 II An example : the k-coloring problem Input : Problem : a graph G, a number k is it possible to color the vertices of G with at most k colors such that no two adjacent vertices get the same color? If the answer is yes, then G is k-colorable Example This graph is 3-colorable but not -colorable The smallest k such that G is k-colorable is called the chromatic number of G. How can we prove that G is not -colorable? Idea : and are also not -colorable
5 First formulation A solution is any assignment of a color to each vertex. An edge having its endpoints of the same color is called a conflicting edge. Problem : find a solution with as few conflicting edges as possible. No-conclicting edge G is k-colorable a -coloring with one conflicting edge (optimal solution for k=) 5
6 Second formulation A solution is any legal partial coloring (without conflicting edge). Problem : find a solution with as few non-colored vertices as possible. All vertices colored G is k-colorable a -coloring with one non-colored vertex (the grey one) (optimal solution for k=)
7 Up to a permutation there are different (non necessarily legal) -colorings of G G is not -colorable because all these -colorings have at least one conflicting edge 7
8 Let E i denote the set of -colorings in which edge i is conflicting Example G is not -colorable because the sets E i cover the set E of possible -colorings 8
9 These 3 sets E i also cover E They also explain why G is not -colorable G is not -colorable because of This is an irreducible infeasible set 9
10 The graph has a second irreducible infeasible set (for k=). Indeed, it is not -colorable because of the existence of 0
11 For the second formulation Let E = set of legal partial k-colorings (i.e., there are no conflicting edges, but there may exist non-colored vertices) Question : does E contain a solution where all vertices are colored? Let E i denote the set of solutions in E where vertex i is non-colored. The sets Ei cover E G is not -colorable
12 Example is not -colorable This is the set of legal partial -colorings (up to a permutation of the colors)
13 This is the subset E i where the middle vertex is non-colored 3
14 These three subsets already cover E They explain why G is not -colorable G is not -colorable because of This is an irreducible infeasible set
15 The constraint satisfaction problem (CSP) - a finite set of variables - each variable is associated with a domain of values - a set of constraints. A constraint specifies, for a particular subset of variables, a set of incompatible combinations of values for these variables. A solution of a CSP is an assignment of a value to each variable from its domain such that all constraints are satisfied. A CSP is consistent if it has at least one solution; otherwise it is inconsistent (or overconstrained, or infeasible). 5
16 Example : the k-coloring problem - the vertices of the graph are the variables - the set of possible colors {,,k} is the domain of each variable - the inequality constraints between adjacent vertices are the constraints
17 A partial assignment satisfies a constraint if it can be extended to a complete assignment that satisfies this constraint. A partial assignment is legal if it satisfies all constraints. A subset S of constraints is infeasible if no complete assignment satisfies all constraints in S simultaneously A subset of variables is infeasible if there is no legal partial assignment of these variables 7
18 A subset of constraints is called an irreducible infeasible set (IIS) of constraints if it is infeasible, but becomes feasible when any one constraint is removed. A subset of variables is called an irreducible infeasible set (IIS) of variables if it is infeasible, but becomes feasible when any one variable is removed. 8
19 Illustration with k= has IISs of constraints and and IIS of variables 9
20 Why is it interesting to detect IISs? 9 An IIS represents a part of the problem that gives a partial explanation to its infeasibility. 9 Determining IISs of constraints or variables can be very helpful to prove the inconsistency of a CSP. Indeed, IISs contain typically a small amount of constraints and variables when compared to the original problem a proof of inconsistency is possibly easier to obtain on an IIS rather than on the original problem. 0
21 A typical example Question : how can we prove the optimality of a solution delivered by a heuristic method?. Determine an IIS of constraints or variables. Prove that this IIS is not feasible Example : which is the chromatic number of? A heuristic method was able to color this graph with 3-colors, but not with. How can we prove that 3 is the chromatic number of this graph?. Determine an IIS of constraints or variables : Ÿ or. Prove that this IIS is not -colorable
22 The General Procedure. use a heuristic algorithm do determine a k-coloring of a given graph G with the smallest possible number k of colors. consider the problem P of determining a (k-)-coloring of G. This problem has probably no solution 3. generate a subgraph of G that has no solution for P. prove that this subgraph is indeed not (k-)-colorable Ÿ this proves that P has no solution Ÿ this proves that the chromatic number is k Illustration for G=. determine a 3-coloring. consider the -coloring problem on G 3. generate the subgraph G = or. prove that G is not -colorable Ÿ this proves that G is not -colorable Ÿ this proves that the chromatic number of G is equal to 3.
23 III Problem formulation A more general problem : the Large Set Covering Problem (LSCP) The Unicost set covering problem (USCP). Given a finite set E and a family F={E,,E m } of subsets of E such that F covers E, the USCP is to determine the smallest possible subset of F that also covers E. The LSCP is a variant of the USCP which differs from the USCP in that E and the subsets E i are not given in extension because they may be very large, and are possibly infinite sets. 3
24 Definition A subset I of {,,m} such that i I E i = E is called a cover. The LCSP is to determine a minimal (inclusion wise) cover. We also consider the problem, called minimum LSCP which is to determine a minimum cover.
25 The problems of finding IISs of constraints and variables in an inconsistent CSP are two special cases of the LSCP. Given an inconsistent CSP,. Define as an element of E as any complete assignment.. To each constraint c i (i=,,m) of the CSP, associate the subset E i of E containing all assignments that violate c i. A set of constraints is infeasible if and only if it covers E. finding an IIS of constraints is equivalent to solving the LSCP. 5
26 Given an inconsistent CSP,. Define as an element of E any legal partial assignment.. To each variable v i of the CSP, associate the subset E i of E containing all legal partial assignments in which v i has no value. A subset of variables is infeasible if and only if it covers E. finding an IIS of variables is equivalent to solving the LSCP. Conclusion IISs in an inconsistent CSP are minimal covers for the LSCP.
27 IV A crazy assumption 7
28 We are given a procedure Is-Element(e,i) that returns value true if and only if e E i. First model : given any k-coloring, the procedure tells you whether a given edge is conflicting or not Second model : given any partial legal k-coloring, the procedure tells you whether a given vertex is colored or not 8
29 We are given (continued) given any weighting function ω that assigns a weight ω(i) to each set E i, we can use a procedure Min_Weight(Z) that returns an element e E such that ω(i) is minimum. e First model : if all edges have a weight ω(i)=, then Min_Weight(ω) returns a k-coloring with as few conflicting edges as possible E i Second model : if all vertices have a weight ω(i)=, then Min_Weight(ω) returns a legal partial k-coloring with as few non-colored vertices as possible 9
30 V Solution techniques Notations F I (e) = subset of elements i I such that e E i. Such a subset can easily be generated by means of Is-Element. (it is - the subset of constraints violated by solution e, or - the subset of non-instantiated variables in solution e) 30
31 Given a subset I {,,m}, procedure Cover(I) returns the value true if E, and false otherwise. E i i I = Consider the weighting function ω that assigns a weight ω(i)= to each index i I ω(i)=0 to the other indices, Let e be the output of Min_Weight(ω). Then Cover(I) returns the value true if and only if F I (e). 3
32 We denote Min(I,J) the procedure that produces an element e E that minimizes M F I (e ) + F J where M is any number larger than J. (e ), 3
33 Algorithm Removal Input: a cover {,,m} Output: a minimal cover I {,,m}. Set I:={,,m};. For i= to m do If Cover(I-{-i})= true then set I:=I-{-i}. Property Algorithm Removal produces a minimal cover. 33
34
35 35
36 Algorithm Insertion Input: a cover {,,m} Output: a minimal cover I i. Set I 0 :=, J 0 :={,,m} and i:=0;. Set e i :=Min(I i,j i ); 3. If F Ii (e i ) then STOP: I i is a minimal cover;. Choose h i in F Ji (e i ), set I i+ :=I i {h i }, J i+ :=J i - F Ji (e i ), i:=i+ and go to Step. Property Algorithm Insertion produces a minimal cover. 3
37 3 37
38 38
39 Algorithm Hitting-Set Input: Output: a cover I={,,m} a minimum cover. Set I 0 := and i:=0;. Set e i :=Min(I i,i-i i ); 3. If F I i (ei) then STOP: I i is a minimum cover;. Set i:=i+, I i := Best_HS(F I (e 0 ),, F I (e i- )), and go to Step. Property Algorithm Hitting-Set produces a minimum cover. 39
40 0
41
42 Comparisons Algorithm Removal and Insertion always produce a minimal cover Algorithm Hitting-Set always produces a minimum cover Removal finds a minimal cover in m steps Insertion finds a minimal cover I in I steps Hitting-Set finds a minimum cover in an exponential number of steps But Hitting-Set can be stopped at any time to produce a lower bound on the size of a minimum cover
43 Procedure Lower_Bound_ Input: a cover {,,m} Output: a lower bound on the size of a minimum cover. Set I 0 :=, J 0 :={,,m} and i:=0;. Set e i :=Min(I i,j i ); 3. If F Ii (e i ) then STOP: i is a lower bound on the size of a minimum cover;. set I i+ :=I i F Ji (e i ), J i+ :=J i - F Ji (e i ), i:=i+ and go to Step. Property Procedure Lower_Bound_ produces a lower bound on the size of a minimum cover 3
44
45 5
46 Given m+ integers a,,a m and b we compute f(a,,a m ; b) computed as follows:. the integers a,,a m are first ordered in a non-increasing order, say a j a jm. f(a,,a m ; b) is then set equal to the smallest index r such that r i = a ji b. For example, f(,,3,,5; ) is equal to since the integers,,3,,5 are first ordered so that 5 3 and 5+3+< while
47 Procedure Lower_Bound_ Input: Output: a cover {,,m}; a given number q a lower bound on the size of a minimum cover. Set i:=0 and L:=0; set n(r):=0 for all r=,,m;. Set e i :=Min-Weight(ω) with ω(r)=m n(r) for all r=,,m (where M is a number >m); 3. Set n(r):= n(r)+ for all r F {,,m} (e i );. If n(r)=q for some element r, then STOP: L is a lower bound on the size of a minimum cover; 5. Set i:=i+, L:=max{L, f(n(),,n(m); i)} and go to Step. Property Procedure Lower_Bound_ produces a lower bound on the size of a minimum cover 7
48 8
49 , +, ++ 3,3 +++, ,5 +++, +++,7 +++, , , , , ,3 9
50 VI A more realistic assumption Procedure Min_Weight(Z) solves an NP-hard problem For the k-coloring with Z(i)= for all i, Min_Weight(Z) determines a k-coloring with as few conflicting edges as possible the output of Min_Weight(Z) has no conflicting edge if and only if the graph is k-colorable one can determine the chromatic number by using Min_Weight(Z) 50
51 What happens if one replaces Min_Weight(Z) by a heuristic algorithm? Property If the output of Removal is a cover, then it is a minimal cover If the output of Insertion is a cover, then it is a minimal cover If the output of Hitting-Set is a cover, then it is a minimum cover 5
52 Let P be a problem for which we are not able to determine any feasible solution. How can we prove that P has no feasible solution?. Determine a subproblem P for which we are also not able to determine any feasible solution. Prove that P has no feasible solution this proves that P also has no feasible solution In other words,. Detect a possible cover (IIS) by means of the heuristic versions of Removal, Insertion or Hitting-Set. Prove that this possible cover is indeed a cover (IIS) 5
53 VII A related problem Let E be a set, and let E,,E m be m subsets of E such that m E E i i = = Suppose that E and the subsets E i are very large sets that are possibly infinite. We consider the problem of finding the largest possible subset IŽ^,,m` such that i I E i E. Such a subset is called a maximum non-cover. 53
54 Example given a graph that is not k-colorable, find the largest possible subgraph that is k-colorable Input, k= Ouput: for the constraint formulation for the variable formulation 5
55 This problem can easily be solved using procedure Min-Weight(Z). Indeed, let e be the output of Min-Weight(Z) where Z(i)= for all i=,,m. A maximum non-cover is obtained by setting I equal to the set of elements I such that e E i. If we have to use a heuristic version of Min-Weight(Z), then we can use the following algorithm 55
56 Algorithm Max-non non-cover Input: a cover I={,,m} Output: a subset of ^,,m` that is not a cover or a message of error. Set e:=min-(i, ) and LB:=m- F I (e) ;. Set i:= and H 0 := ; 3. Call Removal, Insertion or Hitting-Set with input I-H i- ; If the output is a message of error then STOP: an error occurred; Else let I i denote this output;. If Cover(I i )= false then STOP: an error occurred; 5. Set H i := Best_HS(I,,I i ); UB:= m- H i ;. If LB=UB then STOP: I-F I (e) is a maximum non-cover; 7. If Cover(I-H i )= false then STOP: I-H i is a maximum non-cover; 8. Set i:=i+ and go to Step 3. Property This algorithm is finite and it either stops with a message of error, or it produces a maximum non-cover 5
57 57
58 5 58
59 VIII What to do in practice Heuristic algorithms for Min-Weight(Z). Minimize the number the total weight of the conflicting edges Tabu search algorithm with - search space = set of k-colorings - objective function = total weight of the conflicting edges - neighborhood = move a vertex from one color class to another 59
60 Heuristic algorithms for Min-Weight(Z) (continued). Minimize the the total weight of the non-colored vertices Tabu search algorithm with - search space = set of partial k-colorings - objective function = total weight of the non-colored vertices - neighborhood = assign a color i to a non-colored vertex v and remove the color from each vertex adjacent to v having color i. (i-swaps defined by Morgenstern, 99) 0
61 5 5
62 What else can we do in practice? Procedure Pre-filtering Input: a cover {,,m} Output: a lower bound on the size of a minimum cover. Set I 0 :=, J 0 :={,,m} and i:=0;. Set e i :=Min-(I i,j i ); 3. If F I i (e i ) then STOP: Set G:=G[I i ];. set I i+ :=I i F (e J i i ), J i+ :=J i - F Ji (e i ), i:=i+ and go to Step.
63 5 3
64 Speed up procedure When the procedure that solves Min (I,J) detects a solution e with F I (e) = then insert the unique element of F I (e) into I.. Min (I,J) Min (I,J)
65 Heuristic for choosing h i in the Insertion algorithm. Partial k-colorings Choose the vertex v with maximum total weight in its neighborhood (minimise u N(v) ω(u) ). Non-legal k-colorings Choose the edge e with maximum total weight in its neighborhood e N(e) ω(e ) (minimise ) 5
66 +9+9= = = m = =5
67 = = n = 8+8= =7 7
68 IX Computational results Example Original graph G 80,0. : 80 vertices, 03 edges Exact method : more than backtracks IIS : - 78 vertices - 7 edges - Exact method : 037 backtracks 8
69 Typical behavior. Number of backtracks for the original graph Number of backtracks for the IIS Chromatic number 9
70 70
Lars Schmidt-Thieme, Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany, Course on Artificial Intelligence,
Course on Artificial Intelligence, winter term 2012/2013 0/35 Artificial Intelligence Artificial Intelligence 3. Constraint Satisfaction Problems Lars Schmidt-Thieme Information Systems and Machine Learning
More informationIntroduction to Graph Theory
Introduction to Graph Theory Tandy Warnow January 20, 2017 Graphs Tandy Warnow Graphs A graph G = (V, E) is an object that contains a vertex set V and an edge set E. We also write V (G) to denote the vertex
More informationModule 4. Constraint satisfaction problems. Version 2 CSE IIT, Kharagpur
Module 4 Constraint satisfaction problems Lesson 10 Constraint satisfaction problems - II 4.5 Variable and Value Ordering A search algorithm for constraint satisfaction requires the order in which variables
More informationLecture 1. 2 Motivation: Fast. Reliable. Cheap. Choose two.
Approximation Algorithms and Hardness of Approximation February 19, 2013 Lecture 1 Lecturer: Ola Svensson Scribes: Alantha Newman 1 Class Information 4 credits Lecturers: Ola Svensson (ola.svensson@epfl.ch)
More informationTreewidth and graph minors
Treewidth and graph minors Lectures 9 and 10, December 29, 2011, January 5, 2012 We shall touch upon the theory of Graph Minors by Robertson and Seymour. This theory gives a very general condition under
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Frank C. Langbein F.C.Langbein@cs.cf.ac.uk Department of Computer Science Cardiff University 13th February 2001 Constraint Satisfaction Problems (CSPs) A CSP is a high
More information3 INTEGER LINEAR PROGRAMMING
3 INTEGER LINEAR PROGRAMMING PROBLEM DEFINITION Integer linear programming problem (ILP) of the decision variables x 1,..,x n : (ILP) subject to minimize c x j j n j= 1 a ij x j x j 0 x j integer n j=
More informationUsing Local Search to Speed Up Filtering Algorithms for Some NP-Hard Constraints
Using Local Search to Speed Up Filtering Algorithms for Some NP-Hard Constraints Philippe Galinier, Alain Hertz, Sandrine Paroz, and Gilles Pesant École Polytechnique de Montréal C.P. 6079, succ. Centre-ville
More informationMaximizing edge-ratio is NP-complete
Maximizing edge-ratio is NP-complete Steven D Noble, Pierre Hansen and Nenad Mladenović February 7, 01 Abstract Given a graph G and a bipartition of its vertices, the edge-ratio is the minimum for both
More informationConstraint Satisfaction Problems. Chapter 6
Constraint Satisfaction Problems Chapter 6 Constraint Satisfaction Problems A constraint satisfaction problem consists of three components, X, D, and C: X is a set of variables, {X 1,..., X n }. D is a
More informationEndomorphisms and synchronization, 2: Graphs and transformation monoids
Endomorphisms and synchronization, 2: Graphs and transformation monoids Peter J. Cameron BIRS, November 2014 Relations and algebras Given a relational structure R, there are several similar ways to produce
More informationNP-complete Reductions
NP-complete Reductions 1. Prove that 3SAT P DOUBLE-SAT, i.e., show DOUBLE-SAT is NP-complete by reduction from 3SAT. The 3-SAT problem consists of a conjunction of clauses over n Boolean variables, where
More informationGraphs and Network Flows IE411. Lecture 13. Dr. Ted Ralphs
Graphs and Network Flows IE411 Lecture 13 Dr. Ted Ralphs IE411 Lecture 13 1 References for Today s Lecture IE411 Lecture 13 2 References for Today s Lecture Required reading Sections 21.1 21.2 References
More information15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018
15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018 In this lecture, we describe a very general problem called linear programming
More information15.082J and 6.855J. Lagrangian Relaxation 2 Algorithms Application to LPs
15.082J and 6.855J Lagrangian Relaxation 2 Algorithms Application to LPs 1 The Constrained Shortest Path Problem (1,10) 2 (1,1) 4 (2,3) (1,7) 1 (10,3) (1,2) (10,1) (5,7) 3 (12,3) 5 (2,2) 6 Find the shortest
More informationApproximation Algorithms: The Primal-Dual Method. My T. Thai
Approximation Algorithms: The Primal-Dual Method My T. Thai 1 Overview of the Primal-Dual Method Consider the following primal program, called P: min st n c j x j j=1 n a ij x j b i j=1 x j 0 Then the
More informationCS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension
CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension Antoine Vigneron King Abdullah University of Science and Technology November 7, 2012 Antoine Vigneron (KAUST) CS 372 Lecture
More informationMathematical and Algorithmic Foundations Linear Programming and Matchings
Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis
More informationOutline of the talk. Local search meta-heuristics for combinatorial problems. Constraint Satisfaction Problems. The n-queens problem
Università G. D Annunzio, maggio 00 Local search meta-heuristics for combinatorial problems Luca Di Gaspero Dipartimento di Ingegneria Elettrica, Gestionale e Meccanica Università degli Studi di Udine
More informationEndomorphisms and synchronization, 2: Graphs and transformation monoids. Peter J. Cameron
Endomorphisms and synchronization, 2: Graphs and transformation monoids Peter J. Cameron BIRS, November 2014 Relations and algebras From algebras to relations Given a relational structure R, there are
More informationRamsey s Theorem on Graphs
Ramsey s Theorem on Graphs 1 Introduction Exposition by William Gasarch Imagine that you have 6 people at a party. We assume that, for every pair of them, either THEY KNOW EACH OTHER or NEITHER OF THEM
More informationFINDING THE CHROMATIC NUMBER BY MEANS OF CRITICAL GRAPHS
FINDING THE CHROMATIC NUMBER BY MEANS OF CRITICAL GRAPHS Francine HERRMANN LITA, Université de Metz Ile de Saulcy 57045 Metz Cedex France Email : herrmann@lrim.sciences.univ-metz.fr and Alain HERTZ Département
More informationTheorem 2.9: nearest addition algorithm
There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used
More information3 No-Wait Job Shops with Variable Processing Times
3 No-Wait Job Shops with Variable Processing Times In this chapter we assume that, on top of the classical no-wait job shop setting, we are given a set of processing times for each operation. We may select
More informationNP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions.
CS 787: Advanced Algorithms NP-Hardness Instructor: Dieter van Melkebeek We review the concept of polynomial-time reductions, define various classes of problems including NP-complete, and show that 3-SAT
More information5.3 Cutting plane methods and Gomory fractional cuts
5.3 Cutting plane methods and Gomory fractional cuts (ILP) min c T x s.t. Ax b x 0integer feasible region X Assumption: a ij, c j and b i integer. Observation: The feasible region of an ILP can be described
More informationλ -Harmonious Graph Colouring
λ -Harmonious Graph Colouring Lauren DeDieu McMaster University Southwestern Ontario Graduate Mathematics Conference June 4th, 201 What is a graph? What is vertex colouring? 1 1 1 2 2 Figure : Proper Colouring.
More information: Principles of Automated Reasoning and Decision Making Midterm
16.410-13: Principles of Automated Reasoning and Decision Making Midterm October 20 th, 2003 Name E-mail Note: Budget your time wisely. Some parts of this quiz could take you much longer than others. Move
More informationConstraint Satisfaction Problems. slides from: Padhraic Smyth, Bryan Low, S. Russell and P. Norvig, Jean-Claude Latombe
Constraint Satisfaction Problems slides from: Padhraic Smyth, Bryan Low, S. Russell and P. Norvig, Jean-Claude Latombe Standard search problems: State is a black box : arbitrary data structure Goal test
More information6. Lecture notes on matroid intersection
Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans May 2, 2017 6. Lecture notes on matroid intersection One nice feature about matroids is that a simple greedy algorithm
More informationGuidelines for the use of meta-heuristics in combinatorial optimization
European Journal of Operational Research 151 (2003) 247 252 Preface Guidelines for the use of meta-heuristics in combinatorial optimization Alain Hertz a, *, Marino Widmer b www.elsevier.com/locate/dsw
More informationAlgorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees
Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees Wei Wang joint with Zishen Yang, Xianliang Liu School of Mathematics and Statistics, Xi an Jiaotong University Dec 20, 2016
More informationConstraint Satisfaction
Constraint Satisfaction Philipp Koehn 1 October 2015 Outline 1 Constraint satisfaction problems (CSP) examples Backtracking search for CSPs Problem structure and problem decomposition Local search for
More informationGraph Coloring via Constraint Programming-based Column Generation
Graph Coloring via Constraint Programming-based Column Generation Stefano Gualandi Federico Malucelli Dipartimento di Elettronica e Informatica, Politecnico di Milano Viale Ponzio 24/A, 20133, Milan, Italy
More informationOn Covering a Graph Optimally with Induced Subgraphs
On Covering a Graph Optimally with Induced Subgraphs Shripad Thite April 1, 006 Abstract We consider the problem of covering a graph with a given number of induced subgraphs so that the maximum number
More information12.1 Formulation of General Perfect Matching
CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Perfect Matching Polytope Date: 22/02/2008 Lecturer: Lap Chi Lau Scribe: Yuk Hei Chan, Ling Ding and Xiaobing Wu In this lecture,
More informationCONSTRAINT SATISFACTION
9// CONSRAI ISFACION oday Reading AIMA Chapter 6 Goals Constraint satisfaction problems (CSPs) ypes of CSPs Inference Search + Inference 9// 8-queens problem How would you go about deciding where to put
More informationBasic Approximation algorithms
Approximation slides Basic Approximation algorithms Guy Kortsarz Approximation slides 2 A ρ approximation algorithm for problems that we can not solve exactly Given an NP-hard question finding the optimum
More informationDynamic programming. Trivial problems are solved first More complex solutions are composed from the simpler solutions already computed
Dynamic programming Solves a complex problem by breaking it down into subproblems Each subproblem is broken down recursively until a trivial problem is reached Computation itself is not recursive: problems
More informationPart II. Graph Theory. Year
Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 53 Paper 3, Section II 15H Define the Ramsey numbers R(s, t) for integers s, t 2. Show that R(s, t) exists for all s,
More informationOn the Space-Time Trade-off in Solving Constraint Satisfaction Problems*
Appeared in Proc of the 14th Int l Joint Conf on Artificial Intelligence, 558-56, 1995 On the Space-Time Trade-off in Solving Constraint Satisfaction Problems* Roberto J Bayardo Jr and Daniel P Miranker
More informationTabu Search for Constraint Solving and Its Applications. Jin-Kao Hao LERIA University of Angers 2 Boulevard Lavoisier Angers Cedex 01 - France
Tabu Search for Constraint Solving and Its Applications Jin-Kao Hao LERIA University of Angers 2 Boulevard Lavoisier 49045 Angers Cedex 01 - France 1. Introduction The Constraint Satisfaction Problem (CSP)
More informationSlides on Approximation algorithms, part 2: Basic approximation algorithms
Approximation slides Slides on Approximation algorithms, part : Basic approximation algorithms Guy Kortsarz Approximation slides Finding a lower bound; the TSP example The optimum TSP cycle P is an edge
More informationConstraint Satisfaction Problems
Last update: February 25, 2010 Constraint Satisfaction Problems CMSC 421, Chapter 5 CMSC 421, Chapter 5 1 Outline CSP examples Backtracking search for CSPs Problem structure and problem decomposition Local
More informationStaffing and Scheduling in Multiskill and Blend Call Centers
Staffing and Scheduling in Multiskill and Blend Call Centers 1 Pierre L Ecuyer GERAD and DIRO, Université de Montréal, Canada (Joint work with Tolga Cezik, Éric Buist, and Thanos Avramidis) Staffing and
More informationMethods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem
Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem L. De Giovanni M. Di Summa The Traveling Salesman Problem (TSP) is an optimization problem on a directed
More informationCS 343: Artificial Intelligence
CS 343: Artificial Intelligence Constraint Satisfaction Problems Prof. Scott Niekum The University of Texas at Austin [These slides are based on those of Dan Klein and Pieter Abbeel for CS188 Intro to
More informationOn the packing chromatic number of some lattices
On the packing chromatic number of some lattices Arthur S. Finbow Department of Mathematics and Computing Science Saint Mary s University Halifax, Canada BH C art.finbow@stmarys.ca Douglas F. Rall Department
More informationBranch-price-and-cut for vehicle routing. Guy Desaulniers
Guy Desaulniers Professor, Polytechnique Montréal, Canada Director, GERAD, Canada VeRoLog PhD School 2018 Cagliari, Italy, June 2, 2018 Outline 1 VRPTW definition 2 Mathematical formulations Arc-flow formulation
More informationUML CS Algorithms Qualifying Exam Fall, 2003 ALGORITHMS QUALIFYING EXAM
NAME: This exam is open: - books - notes and closed: - neighbors - calculators ALGORITHMS QUALIFYING EXAM The upper bound on exam time is 3 hours. Please put all your work on the exam paper. (Partial credit
More informationModule 7. Independent sets, coverings. and matchings. Contents
Module 7 Independent sets, coverings Contents and matchings 7.1 Introduction.......................... 152 7.2 Independent sets and coverings: basic equations..... 152 7.3 Matchings in bipartite graphs................
More informationAlgorithms for the Bin Packing Problem with Conflicts
Algorithms for the Bin Packing Problem with Conflicts Albert E. Fernandes Muritiba *, Manuel Iori, Enrico Malaguti*, Paolo Toth* *Dipartimento di Elettronica, Informatica e Sistemistica, Università degli
More information2 The Fractional Chromatic Gap
C 1 11 2 The Fractional Chromatic Gap As previously noted, for any finite graph. This result follows from the strong duality of linear programs. Since there is no such duality result for infinite linear
More informationAdvanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs
Advanced Operations Research Techniques IE316 Quiz 1 Review Dr. Ted Ralphs IE316 Quiz 1 Review 1 Reading for The Quiz Material covered in detail in lecture. 1.1, 1.4, 2.1-2.6, 3.1-3.3, 3.5 Background material
More informationBounds on graphs with high girth and high chromatic number
Bounds on graphs with high girth and high chromatic number joint work with Daniel Bath and Zequn Li INTEGERS 2013: The Erdős Centennial Conference October 26, 2013 Some Definitions Graph Theory Chromatic
More informationCS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department
CS473-Algorithms I Lecture 3-A Graphs Graphs A directed graph (or digraph) G is a pair (V, E), where V is a finite set, and E is a binary relation on V The set V: Vertex set of G The set E: Edge set of
More informationCS 188: Artificial Intelligence. What is Search For? Constraint Satisfaction Problems. Constraint Satisfaction Problems
CS 188: Artificial Intelligence Constraint Satisfaction Problems Constraint Satisfaction Problems N variables domain D constraints x 1 x 2 Instructor: Marco Alvarez University of Rhode Island (These slides
More informationMulti-Cluster Interleaving on Paths and Cycles
Multi-Cluster Interleaving on Paths and Cycles Anxiao (Andrew) Jiang, Member, IEEE, Jehoshua Bruck, Fellow, IEEE Abstract Interleaving codewords is an important method not only for combatting burst-errors,
More informationCSE 548: Analysis of Algorithms. Lecture 13 ( Approximation Algorithms )
CSE 548: Analysis of Algorithms Lecture 13 ( Approximation Algorithms ) Rezaul A. Chowdhury Department of Computer Science SUNY Stony Brook Fall 2017 Approximation Ratio Consider an optimization problem
More informationLinear Programming in Small Dimensions
Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional
More informationAn upper bound for the chromatic number of line graphs
EuroComb 005 DMTCS proc AE, 005, 151 156 An upper bound for the chromatic number of line graphs A D King, B A Reed and A Vetta School of Computer Science, McGill University, 3480 University Ave, Montréal,
More informationSolution for Homework set 3
TTIC 300 and CMSC 37000 Algorithms Winter 07 Solution for Homework set 3 Question (0 points) We are given a directed graph G = (V, E), with two special vertices s and t, and non-negative integral capacities
More informationAMS /672: Graph Theory Homework Problems - Week V. Problems to be handed in on Wednesday, March 2: 6, 8, 9, 11, 12.
AMS 550.47/67: Graph Theory Homework Problems - Week V Problems to be handed in on Wednesday, March : 6, 8, 9,,.. Assignment Problem. Suppose we have a set {J, J,..., J r } of r jobs to be filled by a
More informationVertex Cover is Fixed-Parameter Tractable
Vertex Cover is Fixed-Parameter Tractable CS 511 Iowa State University November 28, 2010 CS 511 (Iowa State University) Vertex Cover is Fixed-Parameter Tractable November 28, 2010 1 / 18 The Vertex Cover
More information11.1 Facility Location
CS787: Advanced Algorithms Scribe: Amanda Burton, Leah Kluegel Lecturer: Shuchi Chawla Topic: Facility Location ctd., Linear Programming Date: October 8, 2007 Today we conclude the discussion of local
More informationConflict Graphs for Combinatorial Optimization Problems
Conflict Graphs for Combinatorial Optimization Problems Ulrich Pferschy joint work with Andreas Darmann and Joachim Schauer University of Graz, Austria Introduction Combinatorial Optimization Problem CO
More informationLecture 21: Other Reductions Steven Skiena
Lecture 21: Other Reductions Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.stonybrook.edu/ skiena Problem of the Day Show that the dense
More informationDecision Problems. Observation: Many polynomial algorithms. Questions: Can we solve all problems in polynomial time? Answer: No, absolutely not.
Decision Problems Observation: Many polynomial algorithms. Questions: Can we solve all problems in polynomial time? Answer: No, absolutely not. Definition: The class of problems that can be solved by polynomial-time
More information1 Non greedy algorithms (which we should have covered
1 Non greedy algorithms (which we should have covered earlier) 1.1 Floyd Warshall algorithm This algorithm solves the all-pairs shortest paths problem, which is a problem where we want to find the shortest
More information11. APPROXIMATION ALGORITHMS
11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005
More informationCS 4100 // artificial intelligence
CS 4100 // artificial intelligence instructor: byron wallace Constraint Satisfaction Problems Attribution: many of these slides are modified versions of those distributed with the UC Berkeley CS188 materials
More informationWhat is Search For? CS 188: Artificial Intelligence. Constraint Satisfaction Problems
CS 188: Artificial Intelligence Constraint Satisfaction Problems What is Search For? Assumptions about the world: a single agent, deterministic actions, fully observed state, discrete state space Planning:
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems In which we see how treating states as more than just little black boxes leads to the invention of a range of powerful new search methods and a deeper understanding of
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Chapter 5 Chapter 5 1 Outline CSP examples Backtracking search for CSPs Problem structure and problem decomposition Local search for CSPs Chapter 5 2 Constraint satisfaction
More information/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18
601.433/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18 22.1 Introduction We spent the last two lectures proving that for certain problems, we can
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Chapter 5 Section 1 3 Constraint Satisfaction 1 Outline Constraint Satisfaction Problems (CSP) Backtracking search for CSPs Local search for CSPs Constraint Satisfaction
More informationAlgorithms for Integer Programming
Algorithms for Integer Programming Laura Galli November 9, 2016 Unlike linear programming problems, integer programming problems are very difficult to solve. In fact, no efficient general algorithm is
More informationInteger Programming Theory
Integer Programming Theory Laura Galli October 24, 2016 In the following we assume all functions are linear, hence we often drop the term linear. In discrete optimization, we seek to find a solution x
More informationLecture 7. s.t. e = (u,v) E x u + x v 1 (2) v V x v 0 (3)
COMPSCI 632: Approximation Algorithms September 18, 2017 Lecturer: Debmalya Panigrahi Lecture 7 Scribe: Xiang Wang 1 Overview In this lecture, we will use Primal-Dual method to design approximation algorithms
More informationBenders Decomposition
Benders Decomposition Using projections to solve problems thst@man.dtu.dk DTU-Management Technical University of Denmark 1 Outline Introduction Using projections Benders decomposition Simple plant location
More informationAnnouncements. Homework 1: Search. Project 1: Search. Midterm date and time has been set:
Announcements Homework 1: Search Has been released! Due Monday, 2/1, at 11:59pm. On edx online, instant grading, submit as often as you like. Project 1: Search Has been released! Due Friday 2/5 at 5pm.
More information5. Lecture notes on matroid intersection
Massachusetts Institute of Technology Handout 14 18.433: Combinatorial Optimization April 1st, 2009 Michel X. Goemans 5. Lecture notes on matroid intersection One nice feature about matroids is that a
More information1. Lecture notes on bipartite matching
Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans February 5, 2017 1. Lecture notes on bipartite matching Matching problems are among the fundamental problems in
More informationMathematical Programming Formulations, Constraint Programming
Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 Mathematical Programming Formulations, Constraint Programming 1. Special Purpose Algorithms 2. Constraint Programming Marco Chiarandini DM87 Scheduling,
More informationIntroduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14
600.363 Introduction to Algorithms / 600.463 Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14 23.1 Introduction We spent last week proving that for certain problems,
More informationChapter 10 Part 1: Reduction
//06 Polynomial-Time Reduction Suppose we could solve Y in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Chapter 0 Part : Reduction Reduction. Problem X
More informationComputing minimum distortion embeddings into a path for bipartite permutation graphs and threshold graphs
Computing minimum distortion embeddings into a path for bipartite permutation graphs and threshold graphs Pinar Heggernes Daniel Meister Andrzej Proskurowski Abstract The problem of computing minimum distortion
More informationCS 188: Artificial Intelligence Fall 2008
CS 188: Artificial Intelligence Fall 2008 Lecture 4: CSPs 9/9/2008 Dan Klein UC Berkeley Many slides over the course adapted from either Stuart Russell or Andrew Moore 1 1 Announcements Grading questions:
More informationAnnouncements. CS 188: Artificial Intelligence Fall Large Scale: Problems with A* What is Search For? Example: N-Queens
CS 188: Artificial Intelligence Fall 2008 Announcements Grading questions: don t panic, talk to us Newsgroup: check it out Lecture 4: CSPs 9/9/2008 Dan Klein UC Berkeley Many slides over the course adapted
More informationMa/CS 6b Class 26: Art Galleries and Politicians
Ma/CS 6b Class 26: Art Galleries and Politicians By Adam Sheffer The Art Gallery Problem Problem. We wish to place security cameras at a gallery, such that they cover it completely. Every camera can cover
More informationPart 2: Algorithms. CP-2001 Tutorial - Cyprus November 2001 Algorithms 1
Part 2: Algorithms CP-2001 Tutorial - Cyprus November 2001 Algorithms 1 CP-2001 Tutorial - Cyprus November 2001 Algorithms 2 Overview Problem formulation: Optimization task Exact algorithms: Branch and
More informationLecture 4: Primal Dual Matching Algorithm and Non-Bipartite Matching. 1 Primal/Dual Algorithm for weighted matchings in Bipartite Graphs
CMPUT 675: Topics in Algorithms and Combinatorial Optimization (Fall 009) Lecture 4: Primal Dual Matching Algorithm and Non-Bipartite Matching Lecturer: Mohammad R. Salavatipour Date: Sept 15 and 17, 009
More informationA CSP Search Algorithm with Reduced Branching Factor
A CSP Search Algorithm with Reduced Branching Factor Igor Razgon and Amnon Meisels Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, 84-105, Israel {irazgon,am}@cs.bgu.ac.il
More informationExample: Map coloring
Today s s lecture Local Search Lecture 7: Search - 6 Heuristic Repair CSP and 3-SAT Solving CSPs using Systematic Search. Victor Lesser CMPSCI 683 Fall 2004 The relationship between problem structure and
More informationAnnouncements. Reminder: CSPs. Today. Example: N-Queens. Example: Map-Coloring. Introduction to Artificial Intelligence
Introduction to Artificial Intelligence 22.0472-001 Fall 2009 Lecture 5: Constraint Satisfaction Problems II Announcements Assignment due on Monday 11.59pm Email search.py and searchagent.py to me Next
More informationGeneral Methods and Search Algorithms
DM811 HEURISTICS AND LOCAL SEARCH ALGORITHMS FOR COMBINATORIAL OPTIMZATION Lecture 3 General Methods and Search Algorithms Marco Chiarandini 2 Methods and Algorithms A Method is a general framework for
More informationLecture 5: Exact inference
Lecture 5: Exact inference Queries Inference in chains Variable elimination Without evidence With evidence Complexity of variable elimination which has the highest probability: instantiation of all other
More informationA generic framework for solving CSPs integrating decomposition methods
A generic framework for solving CSPs integrating decomposition methods L. Blet 1,3, S. N. Ndiaye 1,2, and C. Solnon 1,3 1 Université de Lyon - LIRIS 2 Université Lyon 1, LIRIS, UMR5205, F-69622 France
More information11. APPROXIMATION ALGORITHMS
11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005
More informationConstraint Satisfaction Problems (CSPs)
1 Hal Daumé III (me@hal3.name) Constraint Satisfaction Problems (CSPs) Hal Daumé III Computer Science University of Maryland me@hal3.name CS 421: Introduction to Artificial Intelligence 7 Feb 2012 Many
More information