Theory and Practice of Constraint Programming September 24-28, 2012

Total Page:16

File Type:pdf, Size:1020Kb

Theory and Practice of Constraint Programming September 24-28, 2012 Association for Constraint Programming ACP Summer School 2012 Theory and Practice of Constraint Programming September 24-28, 2012 Institute of Computer Science University of Wrocław Poland Association for Constraint Programming ACP Summer School 2012 Theory and Practice of Constraint Programming September 24-28, 2012 Institute of Computer Science University of Wrocław Poland Table of contents Introduction to constraint programming Willem-Jan van Hoeve Operations Research Techniques in Constraint Programming Willem-Jan van Hoewe Constraint Programming and Biology Agostino Dovier Constraints and Complexity Peter Jeavons Set Constraints Witold Charatonik Constraints: Counting and Approximation Andrei Bulatov Introduction to Constraint Programming Willem-Jan van Hoeve Tepper School of Business, Carnegie Mellon University ACP Summer School on Theory and Practice of Constraint Programming September 24-28, 2012, Wrocław, Poland Outline Constraint Programming Overview General introduction • Successful applications Artificial Operations Computer Intelligence Research Science • Modeling • Solving • CP software optimization search algorithms data structures Basic concepts logical inference formal languages • Search Constraint • Constraint propagation Programming • Complexity Evolution events of CP Successful applications 1970s: Image processing applications in AI; Search+qualitative inference 1980s: Logic Programming (Prolog); Search + logical inference 1989: CHIP System; Constraint Logic Programming 1990s: Constraint Programming; Industrial Solvers (ILOG, Eclipse,…) 1994: Advanced inference for alldifferent and resource scheduling 2000s: Global constraints; integrated methods; modeling languages 2006: CISCO Systems acquires Eclipse CLP solver 2009: IBM acquires ILOG CP Solver & Cplex Sport Scheduling Hong Kong Airport • Gate allocation at the Hong Kong International Airport Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 • System was implemented in only four months, and includes Period 1 0 vs 1 0 vs 2 4 vs 7 3 vs 6 3 vs 7 1 vs 5 2 vs 4 constraint programming technology (ILOG) Period 2 2 vs 3 1 vs 7 0 vs 3 5 vs 7 1 vs 4 0 vs 6 5 vs 6 • Schedules ~900 flights a day (53 million passengers in 2011) Period 3 4 vs 5 3 vs 5 1 vs 6 0 vs 4 2 vs 6 2 vs 7 0 vs 7 Period 4 6 vs 7 4 vs 6 2 vs 5 1 vs 2 0 vs 5 3 vs 4 1 vs 3 Schedule of 1997/1998 ACC basketball league (9 teams) • various complicated side constraints • all 179 solutions were found in 24h using enumeration and integer linear programming [Nemhauser & Trick, 1998] • all 179 solutions were found in less than a minute using constraint programming [Henz, 1999, 2001] Port of Singapore Railroad Optimization • Netherlands Railways has among the densest rail networks in • One of the world’s largest container transshipment hubs the world, with 5,500 trains per day • Links shippers to a network of 200 shipping lines with connections to 600 ports in 123 countries • Constraint programming is one of the components in their railway planning software, which was used to design a new • Problem: Assign yard locations and loading plans under various operational and safety requirements timetable from scratch (2009) • Solution: Yard planning system, based on constraint programming • Much more robust and effective schedule, and $75M additional (ILOG) annual profit • INFORMS Edelman Award winner (2009) 8 CP Modeling and Solving CP Variables • CP allows a very flexible modeling language • CP variable types include the classical: binary, integer, continuous • Virtually any expression over the variables is allowed • In addition, variables may take a value from any e.g., x3(y2 – z) ≥ 25 + x2∙max(x,y,z) finite set e.g., x in {a,b,c,d,e} the set of possible values is called the domain of a variable • CP models can be much more intuitive than, e.g., MIP or SAT models • Lastly, there exist special `structured’ variable types close to natural language set variables (take a set of elements as value) activities or interval variables (for scheduling applications) 10 11 CP Constraints – Examples CP vs MIP Modeling: Task Sequencing • Algebraic expressions: • We need to sequence a set of tasks on a machine x3(y2 – z) ≥ 25 + x2∙max(x,y,z) Each task i has a specific fixed processing time pi • Extensional constraints (‘table’ constraints): Each task can be started after its release date ri, and must be (x,y,z) in MyTupleSet completed before its deadline di • Variables as subscripts (‘element’ constraints): Tasks cannot overlap in time y = cost[x] (here y and x are variables, ‘cost’ is an array of parameters) • Reasoning with meta-constraints: Time is represented as a discrete set of time points, say ∑i (xi > Ti) ≤ 5 • Logical relations in which (meta-)constraints can be mixed: {1, 2,…, H} (H stands for horizon) ((x < y) OR (y < z)) (c = min(x,y)) • Global constraints: Alldifferent(x1,x2, ...,xn) DisjunctiveResource( [start1,..., startn], [dur1,...,durn], [end1,...,endn] ) 13 MIP model MIP model (cont’d) • Variables • Tasks cannot overlap Binary variable xij represents whether task i starts at time variant 1 period j ∑i xij ≤ 1 for all time points j • Constraints we also need to take processing times into account; this Each task starts on exactly one time point becomes messy variant 2 ∑j xij = 1 for all tasks i Respect release date and deadline introduce binary variable bik representing whether task i comes before task k j*xij = 0 for all tasks i and (j < ri) or (j > di -pi) must be linked to xij; this becomes messy 14 15 CP model CP model • Variables • Tasks cannot overlap: Let starti represent the starting time of task i for all tasks i and j takes a value from domain {1,2,…, H} (start + p < start ) OR (start + p < start ) This immediately ensures that each task starts at exactly one i i j j j i time point • Constraints That’s it! Respect release date and deadline ri ≤ starti ≤ di -pi (See also Lombardi’s lectures on scheduling for more advanced models) 16 17 Benefits of CP model Variables as subscripts: the TSP • The number of CP variables is equal to the number of • The traveling salesperson problem asks to find a tasks, while the number of MIP variables depends also closed tour on a given set of n locations, with on the time granularity (for a horizon H, and n tasks, minimum total length we have H*n binary variables x ) ij • Input: set of locations and distance dij between two • The sequencing constraints are quite messy in MIP, locations i and j but straightforward and intuitive in CP 18 19 TSP: MIP model TSP: MIP model (cont’d) • Classical model based on ‘assignment problem’ 1 • Need to make sure that we leave and enter • Binary variable x represents whether the tour goes each location exactly once ij 5 from i to j 5 ∑j xij = 1 for all i 4 • Objective 2 4 ∑i xij = 1 for all j 2 3 min ∑ij dij xij • Constraints to remove all possible 3 subtours: 1 1 there are exponentially many 6 6 1 Alternative MIP models exist, for example the time-indexed MIP methodology therefore applies formulation uses yijt = 1 if we traverse (i,j) at step t specialized solving methods for the TSP 20 21 TSP: CP model MIP and CP model compared • Variable xi represents the i-th location that the tour • The CP model needs only n variables, while the MIP visits (variable domain is {1,2,…,n} ) model needs n2 variables (n is #locations) • Objective • The MIP model is of exponential size, while the CP model only needs one single constraint (and element n−1 contraints) min variables can be dx x + dx x • The CP model is perhaps more intuitive, as it is based n , 1 i , i+1 used as subscripts! i=1 directly on the problem structure: the ordering of the locations in the tour • Constraint alldifferent(x1, x2, …, xn) ‘global’ constraint Note: The specialized MIP solving methods outperform CP on pure TSP. In presence of side constraints (e.g., time windows), CP is often much faster than MIP. 22 23 CP Solving Basics of CP solving In general • CP solving is based on intelligently enumerating all • CP variables can be possible variable-value combinations discrete (i.e., integer valued) backtracking search • CP constraints can be • At each search state, CP applies specific constraint non-linear propagation algorithms non-differentiable • These propagation algorithms are applied to individual discontinuous constraints, and their role is to limit the size of the search tree Hence, no traditional exact Operations Research technique (LP, NLP, MIP, etc) can solve these models 24 25 Example: Graph coloring Smaller (8 variable) instance Assign a color to each country x3 x2 Adjacent countries x1 must have different x colors x4 6 x5 Can we do this with x8 at most four colors? x7 26 27 CP Model CP Solving rgbp x x 3 rgbp 3 rgbp x2 x2 x1 x1 rgbp x4 x6 x4 rgbp x6 rgbp x5 x5 x8 x8 x7 rgbp x7 rgbp Variables and domains: xi in {r,g,b,p} for all i Constraint propagation: can we remove Constraints: xi ≠ xj for all edges (i,j) inconsistent domain values? 28 29 Search Propagate rgbp rgbp x x rgbp 3 r 3 rgbp rgbp x2 x2 x1 x1 rgbp rgbp x4 rgbp x6 x4 rgbp x6 rgbp rgbp x5 x5 x8 x8 rgbp x7 rgbp x7 rgbp rgbp Search: guess a value for a variable Constraint propagation (but be prepared to backtrack): x2 = r 30 31 Search Propagate gbp gbp x x r 3 r 3 gbp gbp x2 x2 x1 x1 gbp gbp x4 gbp x6 x4 g x6 gbp gbp x5 x5 x8 x8 rgbp x7 rgbp x7 rgbp rgbp Search: guess a value for a variable Constraint propagation (but be prepared to backtrack): x5 = g 32 33 Search Continuing search & propagate gbp gbp x x r 3 r 3 gbp gp x2 x2 x1 x1 bp b x4 g x6 x4 g x6 bp bp x5 x5 x8 x8 rbp x7
Recommended publications
  • Constraint Programming
    Constraint Programming Mikael Z. Lagerkvist Tomologic October 2015 Mikael Z. Lagerkvist (Tomologic) Constraint Programming October 2015 1 / 42 [flickr.com/photos/santos/] Who am I? Mikael Zayenz Lagerkvist Basic education at KTH 2000-2005 I Datateknik PhD studies at KTH 2005-2010 I Research in constraint programming systems I One of three core developers for Gecode, fast and well-known Constraint Programming (CP) system. http://www.gecode.org Senior developer R&D at Tomologic I Optimization systems for sheet metal cutting I Constraint programming for some tasks Mikael Z. Lagerkvist (Tomologic) Constraint Programming October 2015 3 / 42 Mikael Z. Lagerkvist (Tomologic) Constraint Programming October 2015 4 / 42 Mikael Z. Lagerkvist (Tomologic) Constraint Programming October 2015 5 / 42 Tomologic Mostly custom algorithms and heuristics Part of system implemented using CP at one point I Laser Cutting Path Planning Using CP Principles and Practice of Constraint Programming 2013 M. Z. Lagerkvist, M. Nordkvist, M. Rattfeldt Some sub-problems solved using CP I Ordering problems with side constraints I Some covering problems Mikael Z. Lagerkvist (Tomologic) Constraint Programming October 2015 6 / 42 1 Introduction 2 Sudoku example 3 Solving Sudoku with CP 4 Constraint programming basics 5 Constraint programming in perspective Constraint programming evaluation Constraint programming alternatives 6 Summary Mikael Z. Lagerkvist (Tomologic) Constraint Programming October 2015 7 / 42 Sudoku - The Rules Each square gets one value between 1 and 9 Each row has all values different Each column has all values different Each square has all values different Mikael Z. Lagerkvist (Tomologic) Constraint Programming October 2015 7 / 42 Sudoku - Example 3 6 1 9 7 5 8 9 2 8 7 4 3 6 1 2 8 9 4 5 1 Mikael Z.
    [Show full text]
  • A Stochastic Continuous Optimization Backend for Minizinc with Applications to Geometrical Placement Problems Thierry Martinez, François Fages, Abder Aggoun
    A Stochastic Continuous Optimization Backend for MiniZinc with Applications to Geometrical Placement Problems Thierry Martinez, François Fages, Abder Aggoun To cite this version: Thierry Martinez, François Fages, Abder Aggoun. A Stochastic Continuous Optimization Backend for MiniZinc with Applications to Geometrical Placement Problems. Proceedings of the 13th International Conference on Integration of Artificial Intelligence and Operations Research Techniques in Constraint Programming, CPAIOR’16, May 2016, Banff, Canada. pp.262-278, 10.1007/978-3-319-33954-2_19. hal-01378468 HAL Id: hal-01378468 https://hal.archives-ouvertes.fr/hal-01378468 Submitted on 30 Nov 2016 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. A Stochastic Continuous Optimization Backend for MiniZinc with Applications to Geometrical Placement Problems Thierry Martinez1 and Fran¸cois Fages1 and Abder Aggoun2 1 Inria Paris-Rocquencourt, Team Lifeware, France 2 KLS-Optim, France Abstract. MiniZinc is a solver-independent constraint modeling lan- guage which is increasingly used in the constraint programming com- munity. It can be used to compare different solvers which are currently based on either Constraint Programming, Boolean satisfiability, Mixed Integer Linear Programming, and recently Local Search. In this paper we present a stochastic continuous optimization backend for MiniZinc mod- els over real numbers.
    [Show full text]
  • Model-Based Optimization for Effective and Reliable Decision-Making
    Model-Based Optimization for Effective and Reliable Decision-Making Robert Fourer [email protected] AMPL Optimization Inc. www.ampl.com — +1 773-336-2675 DecisionCAMP Bolzano, Italy — 18 September 2019 Model-Based Optimization DecisionCAMP — 18 September 2019 1 Model-Based Optimization for Effective and Reliable Decision-Making Optimization originated as an advanced between the human modeler’s formulation mathematical technique, but it has become an and the solver software’s needs. This talk accessible and widely used decision-making introduces model-based optimization by tool. A key factor in the spread of successful contrasting it to a method-based approach optimization applications has been the that relies on customized implementation of adoption of a model-based approach: A rules and algorithms. Model-based domain expert or operations analyst focuses implementations are illustrated using the on modeling the problem of interest, while AMPL modeling language and popular the computation of a solution is left to solvers. The presentation concludes by general-purpose, off-the-shelf solvers; surveying the variety of modeling languages powerful yet intuitive modeling software and solvers available for model-based manages the difficulties of translating optimization today. Dr. Fourer has over 40 years’ experience in institutes, and corporations worldwide; he is studying, creating, and applying large-scale also author of a popular book on AMPL. optimization software. In collaboration with Additionally, he has been a key contributor to the colleagues in Computing Science Research at NEOS Server project and other efforts to make Bell Laboratories, he initiated the design and optimization services available over the Internet, development of AMPL, which has become one and has supported development of open-source of the most widely used software systems for software for operations research through his modeling and analyzing optimization problems, service on the board of the COIN-OR with users in hundreds of universities, research Foundation.
    [Show full text]
  • A Satisfiability Modulo Theories Approach to Constraint Programming
    A SATISFIABILITY MODULO THEORIES APPROACH TO CONSTRAINT PROGRAMMING Josep SUY FRANCH Dipòsit legal: GI. 150-2013 http://hdl.handle.net/10803/98302 A satisfiability modulo theories approach to constraint programming està subjecte a una llicència de Reconeixement 3.0 No adaptada de Creative Commons ©2013, Josep Suy Franch PHDTHESIS A Satisfiability Modulo Theories Approach to Constraint Programming Author: Josep SUY FRANCH 2012 Programa de Doctorat en Tecnologia Advisors: Dr. Miquel BOFILL ARASA Dr. Mateu VILLARET AUSELLE Memoria` presentada per optar al t´ıtol de doctor per la Universitat de Girona Abstract Satisfiability Modulo Theories (SMT) is an active research area mainly focused on for- mal verification of software and hardware. The SMT problem is the problem of deter- mining the satisfiability of ground logical formulas with respect to background theories expressed in classical first-order logic with equality. Examples of theories include linear real or integer arithmetic, arrays, bit vectors, uninterpreted functions, etc., or combina- tions of them. Modern SMT solvers integrate a Boolean satisfiability (SAT) solver with specialized solvers for a set of literals belonging to each theory. On the other hand, Constraint Programming (CP) is a programming paradigm de- voted to solve Constraint Satisfaction Problems (CSP). In a CSP, relations between vari- ables are stated in the form of constraints. Each constraint restricts the combination of values that a set of variables may take simultaneously. The constraints are stated over specific domains, typically: Booleans, integers, rationals, reals, finite domains, or com- binations of them. The problem consists in finding an assignment to the variables that satisfy all constraints.
    [Show full text]
  • Introduction to Constraint Programming Outline Constraint
    Introduction to Constraint Programming Willem-Jan van Hoeve Tepper School of Business, Carnegie Mellon University ACP Summer School on Theory and Practice of Constraint Programming September 24-28, 2012, Wrocław, Poland Outline General introduction • Successful applications • Modeling • Solving • CP software Basic concepts • Search • Constraint propagation • Complexity Constraint Programming Overview Artificial Operations Computer Intelligence Research Science optimization search algorithms data structures logical inference formal languages Constraint Programming 1 Evolution events of CP 1970s: Image processing applications in AI; Search+qualitative inference 1980s: Logic Programming (Prolog); Search + logical inference 1989: CHIP System; Constraint Logic Programming 1990s: Constraint Programming; Industrial Solvers (ILOG, Eclipse,…) 1994: Advanced inference for alldifferent and resource scheduling 2000s: Global constraints; integrated methods; modeling languages 2006: CISCO Systems acquires Eclipse CLP solver 2009: IBM acquires ILOG CP Solver & Cplex Successful applications Sport Scheduling Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Period 1 0 vs1 0 vs2 4 vs7 3 vs6 3 vs 7 1 vs 5 2 vs4 Period 2 2 vs3 1 vs7 0 vs3 5 vs7 1 vs4 0 vs6 5 vs 6 Period 3 4 vs 5 3 vs 5 1 vs6 0 vs4 2 vs6 2 vs7 0 vs7 Period 4 6 vs 7 4 vs 6 2 vs 5 1 vs 2 0 vs 5 3 vs 4 1 vs 3 Schedule of 1997/1998 ACC basketball league (9 teams) • various complicated side constraints • all 179 solutions were found in 24h using enumeration and integer linear programming [Nemhauser
    [Show full text]
  • Constraint Programming
    Constraint Programming Justin Pearson Uppsala University 1st July 2016 Special thanks to Pierre Flener, Joseph Scott and Jun He CP MiniZinc Strings Other Final Outline 1 Introduction to Constraint Programming (CP) 2 Introduction to MiniZinc 3 Constraint Programming with Strings 4 Some recent, and not so Recent Advances 5 Final Thoughts Uppsala University Justin Pearson Constraint Programming CP MiniZinc Strings Other Final Constraint Programming in a Nutshell Slogan of CP Constraint Program = Model [ + Search ] CP provides: high level declarative modelling abstractions, a framework to separate search from from modelling. Search proceeds by intelligent backtracking with intelligent inference called propagation that is guided by high-level modelling constructs called global constraints. Uppsala University Justin Pearson Constraint Programming CP MiniZinc Strings Other Final Outline 1 Introduction to Constraint Programming (CP) Modelling Propagation Systematic Search History of CP 2 Introduction to MiniZinc 3 Constraint Programming with Strings 4 Some recent, and not so Recent Advances 5 Final Thoughts Uppsala University Justin Pearson Constraint Programming CP MiniZinc Strings Other Final Constraint-Based Modelling Example (Port tasting, PT) Alva Dan Eva Jim Leo Mia Ulla 2011 2003 2000 1994 1977 1970 1966 Constraints to be satisfied: Equal jury size: Every wine is evaluated by 3 judges. Equal drinking load: Every judge evaluates 3 wines. Fairness: Every port pair has 1 judge in common. Uppsala University Justin Pearson Constraint Programming CP MiniZinc Strings Other Final Constraint-Based Modelling Example (Port tasting, PT) Alva Dan Eva Jim Leo Mia Ulla 2011 3 3 3 2003 3 3 3 2000 3 3 3 1994 3 3 3 1977 3 3 3 1970 3 3 3 1966 3 3 3 Constraints to be satisfied: Equal jury size: Every wine is evaluated by 3 judges.
    [Show full text]
  • A GPU Implementation of Large Neighborhood Search for Solving Constraint Optimization Problems
    A GPU Implementation of Large Neighborhood Search for Solving Constraint Optimization Problems F. Campeotto and A. Dovier and F. Fioretto and E. Pontelli 1 Abstract. Constraint programming has gained prominence as an Processing Units—GPGPUs). Several libraries and programming en- effective and declarative paradigm for modeling and solving com- vironments (e.g., the Compute Unified Device Architecture (CUDA) plex combinatorial problems. In particular, techniques based on lo- created by NVIDIA) have been made available to allow programmers cal search have proved practical to solve real-world problems, pro- to access GPGPUs and exploit their computational power. viding a good compromise between optimality and efficiency. In In this paper, we propose the design and implementation of a spite of the natural presence of concurrency, there has been rela- novel constraint solver that exploits parallel Local Search (LS) us- tively limited effort to use novel massively parallel architectures— ing GPGPU architectures to solve constraint optimization problems. such as those found in modern Graphical Processing Units (GPUs)— The optimization process is performed in parallel on multiple large to speedup constraint programming algorithms, in general, and local promising regions of the search space, with the aim of improving the search methods, in particular. This paper describes a novel frame- quality of the current solution. The local search model pursued is a work which exploits parallelism from a popular local search method variant of Large Neighborhood Search (LNS) [18, 3]. LNS is a local (the Large Neighborhood Search method), using GPUs. search techniques characterized by an alternation of destroy and re- pair methods—used to destroy and repair part of a solution of a prob- lem.
    [Show full text]
  • Y Su Aplicación a Problemas Reales De La Industria
    MejorA DE LA EfiCIENCIA DE resolución DEL SISTEMA TOY(FD) Y SU aplicación A PROBLEMAS REALES DE LA INDUSTRIA TESIS DoctorAL Ignacio CastiñeirAS Pérez Directores Fernando Sáenz Pérez FrANCISCO Javier López FrAGUAS Universidad Complutense DE Madrid Facultad DE Informática Departamento DE Sistemas Informáticos Y Computación Madrid, MARZO DE 2014 Improving THE Solving EffiCIENCY OF TOY(FD) AND ITS Application TO Real-Life Problems PhD Thesis Ignacio CastiñeirAS Pérez Advisors Fernando Sáenz Pérez FrANCISCO Javier López FrAGUAS Complutense Univesity OF Madrid Faculty OF Information TECHNOLOGY AND Computer Science Departament OF Information Systems AND Computing Madrid, March OF 2014 MejorA DE LA EfiCIENCIA DE resolución DEL SISTEMA TOY(FD) Y SU aplicación A PROBLEMAS REALES DE LA INDUSTRIA Improving THE Solving EffiCIENCY OF TOY(FD) AND ITS Application TO Real-Life Problems Ignacio CastiñeirAS Pérez TESIS DOCTORal, CON título “MejorA DE LA EfiCIENCIA DE resolución DEL SISTEMA TOY(FD) Y SU aplicación A PROBLEMAS REALES DE LA INDUSTRIA”, PRESENTADA POR Ignacio CastiñeirAS Pérez PARA LA obtención DEL título DE Doctor POR LA Universi- DAD Complutense DE Madrid. Título: MejorA DE LA EfiCIENCIA DE resolución DEL SISTEMA TOY(FD) Y SU aplicación A PROBLEMAS REALES DE LA INDUSTRIA Autor: Ignacio CastiñeirAS Pérez ([email protected]) Directores: Fernando Sáenz Pérez ([email protected]) FrANCISCO Javier López FrAGUAS ([email protected]) Universidad Complutense DE Madrid, Facultad DE Informática, Departamento DE Sistemas Informáticos Y Computación Madrid, MARZO DE 2014 PhD Thesis, WITH TITLE “Improving THE Solving EffiCIENCY OF TOY(FD) AND ITS Ap- PLICATION TO Real-Life Problems”, PRESENTED BY Ignacio CastiñeirAS Pérez FOR ob- TAINING A PhD AT THE Complutense University OF Madrid.
    [Show full text]
  • Constraint Modelling and Solving of Some Verification Problems Anicet Bart
    Constraint modelling and solving of some verification problems Anicet Bart To cite this version: Anicet Bart. Constraint modelling and solving of some verification problems. Programming Languages [cs.PL]. Ecole nationale supérieure Mines-Télécom Atlantique, 2017. English. NNT : 2017IMTA0031. tel-01743851 HAL Id: tel-01743851 https://tel.archives-ouvertes.fr/tel-01743851 Submitted on 26 Mar 2018 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Thèse de Doctorat Anicet BART Mémoire présenté en vue de l’obtention du grade de Docteur de l’École nationale supérieure Mines-Télécom Atlantique Bretagne-Pays de la Loire sous le sceau de l’Université Bretagne Loire École doctorale : Mathématiques et STIC (MathSTIC) Discipline : Informatique, section CNU 27 Unité de recherche : Laboratoire des Sciences du Numérique de Nantes (LS2N) Soutenue le 17 octobre 2017 Thèse n°: 2017IMTA0031 Constraint Modelling and Solving of some Verification Problems JURY Présidente : Mme Béatrice BÉRARD, Professeur, Université Pierre et Marie Curie, Paris-VI Rapporteurs : M. Salvador ABREU, Professeur, Universidade de Évora, Portugal Mme Béatrice BÉRARD, Professeur, Université Pierre et Marie Curie, Paris-VI Examinateurs : M. Nicolas BELDICEANU, Professeur, Institut Mines-Télécom Atlantique, Nantes M. Philippe CODOGNET, Professeur, Université Pierre et Marie Curie, Paris-VI Invité : M.
    [Show full text]
  • What Is Constraint Programming (CP)?
    ConstraintProgramming Extensions.jl An MOI/JuMP extension for constraint programming Thibaut Cuvelier — CentraleSupélec (université Paris-Saclay) What is constraint programming (CP)? ▪ Way of formulating combinatorial problems ▪ CP doesn’t really work for continuous problems (exception: Ibex, e.g.) ▪ Initial focus in CP was on feasibility, but optimisation is also possible ▪ Quite different from mathematical optimisation: ▪ No duality, no convexity, no linear/continuous relaxation, no differentiability at all ▪ More generic set of constraints, not just equations and inequalities ▪ Real focus on discrete aspect of the problem ▪ Mathematical optimisation’s support for combinatorial problems is more an afterthought ▪ CP has had many successes in operational research: ▪ Scheduling, time tabling, resource allocation An example of CP model: solving Sudokus ▪ Variables: ▪ 푑푖푗: digit for cell 푖, 푗 , a number between 1 and 9 ▪ Constraints: ▪ Known digits (hints) ▪ Each digit appears once in each row: alldifferent 푑푖푗 ∀푗 , ∀푖 ▪ Each digit appears once in each column: alldifferent 푑푖푗 ∀푖 , ∀푗 ▪ Each digit appears once in each block: 푑3푠,3푡 푑3푠,3푡+1 푑3푠,3푡+2 alldifferent 푑3푠+1,3푡 푑3푠+1,3푡+1 푑3푠+1,3푡+2 , 푠 ∈ 0,1,2 , 푡 ∈ 0,1,2 푑3푠+1,3푡 푑3푠+1,3푡+1 푑3푠+1,3푡+2 ▪ What about your typical MIP model ? ConstraintProgrammingExtensions.jl • What is the state of CP in Julia? • What is the state of the package? • What comes next? • What is missing in Julia/MOI/JuMP? • What is enabled with this package? What is the state of CP in Julia? ▪ Quite a few CP solvers
    [Show full text]
  • Thesis Structure
    UvA-DARE (Digital Academic Repository) Enabling framework for service-oriented collaborative networks Sargolzaei, M. Publication date 2018 Document Version Final published version License Other Link to publication Citation for published version (APA): Sargolzaei, M. (2018). Enabling framework for service-oriented collaborative networks. General rights It is not permitted to download or to forward/distribute the text or part of it without the consent of the author(s) and/or copyright holder(s), other than for strictly personal, individual use, unless the work is under an open content license (like Creative Commons). Disclaimer/Complaints regulations If you believe that digital publication of certain material infringes any of your rights or (privacy) interests, please let the Library know, stating your reasons. In case of a legitimate complaint, the Library will make the material inaccessible and/or remove it from the website. Please Ask the Library: https://uba.uva.nl/en/contact, or a letter to: Library of the University of Amsterdam, Secretariat, Singel 425, 1012 WP Amsterdam, The Netherlands. You will be contacted as soon as possible. UvA-DARE is a service provided by the library of the University of Amsterdam (https://dare.uva.nl) Download date:23 Sep 2021 Enabling Framework for Service-oriented Collaborative Networks Mahdi Sargolzaei Enabling Framework for Service-oriented Collaborative Networks Mahdi Sargolzaei Enabling Framework for Service-oriented Collaborative Networks Mahdi Sargolzaei Enabling Framework for Service-oriented Collaborative Networks Academisch Proefschrift ter verkrijging van de graad van doctor aan de Universiteit van Amsterdam op gezag van de Rector Magnificus prof.dr. ir. K.I.J. Maex ten overstaan van een door het College voor Promoties ingestelde commissie, in het openbaar te verdedigen in de Agnietenkapel op dinsdag 15 mei 2018, te 10.00 uur door Mahdi Sargolzaei geboren te Mashhad, Iran.
    [Show full text]
  • The First Constraint-Based Local Search Backend for Minizinc
    IT 14 066 Examensarbete 15 hp Oktober 2014 The First Constraint-Based Local Search Backend for MiniZinc Gustav Björdal Institutionen för informationsteknologi Department of Information Technology Abstract The First Constraint-Based Local Search Backend for MiniZinc Gustav Björdal Teknisk- naturvetenskaplig fakultet UTH-enheten MiniZinc is a modelling language used to model combinatorial optimisation and satisfaction problems, which can then be solved in a backend solver. There are many Besöksadress: different backend solvers based on different technologies such as constraint Ångströmlaboratoriet Lägerhyddsvägen 1 programming, mathematical programming, or Boolean satisfiability solving. However, Hus 4, Plan 0 there is currently no constraint-based local search (CBLS) backend. This thesis gives an overview of the design of the first CBLS backend for MiniZinc. Experimental Postadress: results show that for some relevant MiniZinc models, the CBLS backend is able to Box 536 751 21 Uppsala give high-quality results. Telefon: 018 – 471 30 03 Telefax: 018 – 471 30 00 Hemsida: http://www.teknat.uu.se/student Handledare: Jean-Noël Monette Ämnesgranskare: Pierre Flener Examinator: Olle Gällmo IT 14 066 Tryckt av: Reprocentralen ITC Acknowledgements I would like to thank my supervisor Dr. Jean-No¨elMonette for the fruitful discussions throughout this project and for all of your help and feedback. I would also like to thank my reviewer Professor Pierre Flener for initially introducing me to the world of constraint programming and for being the most thorough proofreader I have ever met, all of your feedback has been greatly appreciated. Finally, I would like to thank the ASTRA group for entrusting me with this thesis project, it has been both challenging and educational, and more importantly, fun.
    [Show full text]