A Hybrid Constraint Programming Approach to Nurse Rostering Problem

Size: px
Start display at page:

Download "A Hybrid Constraint Programming Approach to Nurse Rostering Problem"

Transcription

1 A Hybrid Constraint Programming Approach to Nurse Rostering Problem Fang He*, Dr. Rong Qu The Automated Scheduling, Optimisation and Planning (ASAP) research group School of Computer Science University of Nottingham AI-2008 Twenty-eighth SGAI International Conference on Artificial Intelligence

2 Outline 1 Introduction The Nurse Rostering Problems Constraint Programming 2 The Formulation Variables Constraints Models 3 The Hybrid Approach Construction Stage Improvement Stage 4 Computational Experiment Results 5 Conclusions

3 Outline 1 Introduction The Nurse Rostering Problems Constraint Programming 2 The Formulation Variables Constraints Models 3 The Hybrid Approach Construction Stage Improvement Stage 4 Computational Experiment Results 5 Conclusions

4 The Nurse Rostering Problems Nurse Rostering Problems (Typical) In hospitals, nurses work in shift system Each nurse works at most one shift per day The demand on each day for each shift type is varying, but known Constraints are defined by regulations, working practice and preferences of nurses A roster(solution): an assignment of each nurse on each day to a shift which satisfies all constraints In reality,the constraints usually put into two groups: hard constraints and soft constraints

5 The Nurse Rostering Problems List of constraints All demanded shifts should be covered In the scheduling period, the nurse is not allowed to exceed his/her maximum work load The maximum number of night shift is 3 per period of 5 consecutive weeks An early shift after a day shift should be avioded Avoid sequence of shifts with length of 1...

6 The Nurse Rostering Problems Typical Solution

7 The Nurse Rostering Problems Objectives Find a feasible solution(roster) which satisfies all the hard constraints As well as: Balance work load of nurses Satisfy as many preferences as possible... Most real world NRPs are NP-hard(Karp,1972) Good solutions would provide significant benefits for hospital

8 Constraint Programming Constraint Programming Paradigm Emerged from a number of research areas: Artificial Intelligence Programming Language Symbolic Computing and Computing Logic Constraint Satisfaction arose from the research in Artificial Intelligence,applied to: Computer Graphics (Sutherland 1963, Borning 1981) Scene labelling (Waltz 1972) Combinatorial problem (Lassez, Jaffar 1987,Aggoun, Beldiceanu 1993)

9 Constraint Programming Constraint Programming Paradigm 1 Declarative description of problem with Variables which range within their domains Constraints over subsets of variables which restrict possible value combinations A solution is a value assignment which satisfies all constraints 2 Constraint filtering/propagation filtering: removing inconsistent values from variables domains Constraint can propagate due to one domain reduction can lead to new domain reduction 3 Search use strategies to assign values to variables each step triggers constraint propagation

10 Outline 1 Introduction The Nurse Rostering Problems Constraint Programming 2 The Formulation Variables Constraints Models 3 The Hybrid Approach Construction Stage Improvement Stage 4 Computational Experiment Results 5 Conclusions

11 Variables The Formulation Variables Constraints 2 models(csp Model,WCSP Model)

12 Variables Variables s ij, the shift type assigned to nurse i on day j domain: 0 Off 1 Early 2 Day 3 Late 4 Night

13 Constraints How to express the constraints? Simplistic constraints e.g. Nobody is allowed to work 3 consecutive night shifts if s ij == Night && s ij+1 == Night,then s ij+2 Night Problems Very limited propagation, no global view Massive number of simplistic constraints

14 Constraints Global Constraint Work on sets of variables Global point of view Building blocks Very strong propagation As general as possible Usable with other constraints Dictionary of constraints(hooker,2007) Global constraints(in NRPs) Cardinality(or Distribute) Stretch(or Sequence )

15 Constraints Cardinality(ILOG Solver) Cardinality(x/v,l,u) Bound how many times a variable can take a value(in its domain) variable x can take value v at least l and at most u times So, the maximum number of night shift constraint can be expressed as Cardinality(s ij,night,0,3)... Also can be used in production sequencing timetabling...

16 Constraints Stretch(ILOG Solver) Stretch(x/v,l,u,P) a stretch is consecutive variables that take the same value. it restricts the length of stretch within the range of [l,u] P is set of patterns, which restrict a stretch of value v j can immediately precedes a stretch of value v j Thus the stretch constraint puts bounds on how many consecutive days the nurse can work each shift, and which shifts can immediately follow another. So the constraint following a series of at least 2 night shifts, 2 days off is required can be defined as follows: Stretch(s ij, Night, 2, 3, P), P = (Night, Off) Also can be used in personnel assignment timetabling...

17 Constraints Problems Which global constraint to choose? Balance between expressiveness of the structure of the problem propagation power implementation effort How to implement them? Use solver package CHIP, ILOG Solver Roll your own see (Bourdais,2003) for algorithms

18 Models Model H1: Cardinality(s ij, K, D jk, D jk ), i I, j J H5: Cardinality(s ij, Night, 0, n 1 ), i I, j J H7: Stretch(s ij, Night, 2, 3, P), P = (Night, Off), i I, j J H8: Stretch(s ij, Night, 0, n 1, P), P = (Night, Off), i I, j J S9: this constraint can be expressed using a boolean implication constraint, which reflects a boolean logical relation between two variables as follows: s ij =Day s ij+1 Early, i I, j J s ij =Late s ij+1 Early, i I, j J s ij =Late s ij+1 Day, i I, j J...

19 Outline 1 Introduction The Nurse Rostering Problems Constraint Programming 2 The Formulation Variables Constraints Models 3 The Hybrid Approach Construction Stage Improvement Stage 4 Computational Experiment Results 5 Conclusions

20 The Hybrid Approach Example Basic CP search method s limitation: exponential search space We need more intelligence search procedure The idea of the approach is based on the observation that high quality nurse rosters consist of high quality shift sequences(brucker et al,2008). Mon Tue Wed Thu Fri Sat Sun Cost O O D D N N N 0 N N O O O E E 0 E E E O O L L 0 D D L L L O O 0...

21 The Hybrid Approach Example Basic CP search method s limitation: exponential search space We need more intelligence search procedure The idea of the approach is based on the observation that high quality nurse rosters consist of high quality shift sequences(brucker et al,2008). Mon Tue Wed Thu Fri Sat Sun Cost O O D D N N N 0 N N O O O E E 0 E E E O O L L 0 D D L L L O O 0...

22 Outline Construction stage: Shift sequence generation and iterative forward search Improvement stage: Variable Neighbourhood Search to make further improvement

23 Construction Stage Shift Sequence Generation By decomposing the problem into solvable sub-problem for CP, then using iterative forward search to extend the partial solution to complete solution. Use Constraint Satisfaction Problem(CSP) model to generate these high quality shift sequences Variable: s ij, the shift type assigned to nurse i on day j Constraint: shift sequence related constraints building block for next step

24 Construction Stage Iterative Forward Search Based on the high quality shift sequences Weighted CSP model Variable:s iw, one week length shift sequence assigned to nurse i in week w Constraints(soft constraints) have associated costs, which depends on the assignment of the variables. The goal is to minimize the sum of costs: Minimize w i P(x i ) Use it to find optimal(near optimal) solution which satisfy all the hard constraints, at the same time, satisfy as many soft constraints as possible

25 Construction Stage Iterative Forward Search

26 Construction Stage Iterative Forward Search Variable& Value selection rules Randomly selected Selected by heuristic Variable: first-fail principle, heavier work-load nurse is selected first Value: night shift sequence first

27 Improvement Stage Variable Neighbourhood Search Two neighborhoods defined: re-assign a shift to a different nurse working on the same day swap two shifts assigned to two nurses on the same day

28 Outline 1 Introduction The Nurse Rostering Problems Constraint Programming 2 The Formulation Variables Constraints Models 3 The Hybrid Approach Construction Stage Improvement Stage 4 Computational Experiment Results 5 Conclusions

29 Pure CP without decomposition VS hybrid Table: Pure CP VS hybrid Data No. of Variables No. of Constraints Pure CP Hybrid A B GPOST ORTEC ORTEC ORTEC ORTEC indicates no feasible solutions can be obtained within 24 hours running

30 Variable & Value Selection Rule Table: Variable Value Selection Rule Problem Random Selection Heurictic Selection ORTEC ORTEC ORTEC ORTEC

31 Table: Hybrid compared to other approaches Problem instances Hybrid GA Hybrid VNS Hybrid CP Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec within 1/2 hour running,vns restrict in 10 minutes average of 370 seconds to generate shift sequences

32 Outline 1 Introduction The Nurse Rostering Problems Constraint Programming 2 The Formulation Variables Constraints Models 3 The Hybrid Approach Construction Stage Improvement Stage 4 Computational Experiment Results 5 Conclusions

33 Conclusions CP is a general technique, can encapsulate a lot of work CP allows the use of symbolic representation The performance of search depends on the search strategies Hybrid CP is superior to pure CP for large problems

34 Appendix Some of References P. Brucker, R. Qu, E. K. Burke and G. Post. A decomposition, construction and post-processing approach for a specific nurse rostering problem, MISTA 05, New York, USA, Jul 2005 L. Hellsten, G. Pesant, and P. van Beek. A domain consistency algorithm for the stretch constraint. Principles and Practice of Constraint Programming - CP 2004, Lecture Notes in Computer Science, Vol. 3258, , 2004, Springer, Berlin J. Hooke., Integrated Methods for Optimization, Springer, , 2006 J. C. Regin. Generalized arc consistency for global cardinality constraint. National Conference on Artificial Intelligence (AAAI 1996), AAAI Press, , 1996

35 Thank You! Q & A

36 Thank You! Q & A

37 Thank You! Q & A

38 Thank You! Q & A

39 Thank You! Q & A

40 Thank You! Q & A

41 Thank You! Q & A

42 Thank You! Q & A

43 Thank You! Q & A

44 Thank You! Q & A

A Constraint-directed Local Search Approach to Nurse Rostering Problems

A Constraint-directed Local Search Approach to Nurse Rostering Problems A Constraint-directed Local Search Approach to Nurse Rostering Problems Fang He & Rong Qu Automated Scheduling, Optimization and Planning (ASAP) Group School of Computer Science University of Nottingham,

More information

Global Constraints in Constraint Programming

Global Constraints in Constraint Programming Global Constraints in Constraint Programming Willem-Jan van Hoeve Tepper School of Business, Carnegie Mellon University Pittsburgh, PA Optimization Days 21 Outline Constraint Programming Central concepts,

More information

Principles of Optimization Techniques to Combinatorial Optimization Problems and Decomposition [1]

Principles of Optimization Techniques to Combinatorial Optimization Problems and Decomposition [1] International Journal of scientific research and management (IJSRM) Volume 3 Issue 4 Pages 2582-2588 2015 \ Website: www.ijsrm.in ISSN (e): 2321-3418 Principles of Optimization Techniques to Combinatorial

More information

THE CONSTRAINT PROGRAMMER S TOOLBOX. Christian Schulte, SCALE, KTH & SICS

THE CONSTRAINT PROGRAMMER S TOOLBOX. Christian Schulte, SCALE, KTH & SICS THE CONSTRAINT PROGRAMMER S TOOLBOX Christian Schulte, SCALE, KTH & SICS Constraint Programming 2 What is constraint programming? Sudoku is constraint programming 3 Sudoku...is constraint programming!

More information

AIMMS Function Reference - Date Time Related Identifiers

AIMMS Function Reference - Date Time Related Identifiers AIMMS Function Reference - Date Time Related Identifiers This file contains only one chapter of the book. For a free download of the complete book in pdf format, please visit www.aimms.com Aimms 3.13 Date-Time

More information

Advancing the Art of Internet Edge Outage Detection

Advancing the Art of Internet Edge Outage Detection Advancing the Art of Internet Edge Outage Detection ACM Internet Measurement Conference 2018 Philipp Richter MIT / Akamai Ramakrishna Padmanabhan University of Maryland Neil Spring University of Maryland

More information

THE CONSTRAINT PROGRAMMER S TOOLBOX. Christian Schulte, SCALE, KTH & SICS

THE CONSTRAINT PROGRAMMER S TOOLBOX. Christian Schulte, SCALE, KTH & SICS THE CONSTRAINT PROGRAMMER S TOOLBOX Christian Schulte, SCALE, KTH & SICS Constraint Programming 2 What is constraint programming? Sudoku is constraint programming 3 Sudoku...is constraint programming!

More information

A Hybrid Constraint Integer Programming Approach to Solve Nurse Scheduling Problems

A Hybrid Constraint Integer Programming Approach to Solve Nurse Scheduling Problems MISTA 2015 A Hybrid Constraint Integer Programming Approach to Solve Nurse Scheduling Problems Erfan Rahimian Kerem Akartunali John Levine Abstract The Nurse Scheduling Problem can be simply defined as

More information

76 days Wed 8/24/16 Wed 12/7/16 Daniel Wang,Shreyas Makde,Madhavi Potluri,Roua 2 Requirements analysis 11 days Wed 8/24/16 Wed 9/7/16

76 days Wed 8/24/16 Wed 12/7/16 Daniel Wang,Shreyas Makde,Madhavi Potluri,Roua 2 Requirements analysis 11 days Wed 8/24/16 Wed 9/7/16 ID Mode Name Duration Start Finish Predecessors Resource Names 1 OpenWells Cross-Platform Mobile Application 76 days Wed 8/24/16 Wed 12/7/16 Daniel Wang,Shreyas Makde,Madhavi 2 Requirements analysis 11

More information

INFORMATION TECHNOLOGY SPREADSHEETS. Part 1

INFORMATION TECHNOLOGY SPREADSHEETS. Part 1 INFORMATION TECHNOLOGY SPREADSHEETS Part 1 Page: 1 Created by John Martin Exercise Built-In Lists 1. Start Excel Spreadsheet 2. In cell B1 enter Mon 3. In cell C1 enter Tue 4. Select cell C1 5. At the

More information

Constraint Propagation: The Heart of Constraint Programming

Constraint Propagation: The Heart of Constraint Programming Constraint Propagation: The Heart of Constraint Programming Zeynep KIZILTAN Department of Computer Science University of Bologna Email: zeynep@cs.unibo.it URL: http://zeynep.web.cs.unibo.it/ What is it

More information

Pennington County Government Justice Center. Schematic Design - October 27, 2015

Pennington County Government Justice Center. Schematic Design - October 27, 2015 Government Schematic Design - October 27, 2015 N Architecture 2 Proposed - Site Plan Proposed Jail / LEC Addition Proposed Addition 3 County Board Room Public Entrance County Attorney Proposed - Ground

More information

Lecture Notes: ESC 101

Lecture Notes: ESC 101 Lecture Notes: ESC 101 Date: 26/02/2008 // Program to Display calendar of a given month import java.util.scanner; class Year int year; Year() this.year=2000; Year(int y) year=(y>1900)? y:1900; //if year

More information

Constraint Programming

Constraint Programming Constraint In Pursuit of The Holly Grail Roman Barták Charles University in Prague Constraint programming represents one of the closest approaches computer science has yet made to the Holy Grail of programming:

More information

(2017) A & ISSN

(2017) A & ISSN Rahimian, Erfan and Akartunali, Kerem and Levine, John (2017) A hybrid integer and constraint programming approach to solve nurse rostering problems. Computers & Operations Research, 82. pp. 83-94. ISSN

More information

Arrays III and Enumerated Types

Arrays III and Enumerated Types Lecture 15 Arrays III and Enumerated Types Multidimensional Arrays & enums CptS 121 Summer 2016 Armen Abnousi Multidimensional Arrays So far we have worked with arrays with one dimension. Single dimensional

More information

MODELLING AND SOLVING SCHEDULING PROBLEMS USING CONSTRAINT PROGRAMMING

MODELLING AND SOLVING SCHEDULING PROBLEMS USING CONSTRAINT PROGRAMMING Roman Barták (Charles University in Prague, Czech Republic) MODELLING AND SOLVING SCHEDULING PROBLEMS USING CONSTRAINT PROGRAMMING Two worlds planning vs. scheduling planning is about finding activities

More information

Total Market Demand Wed Jul 26 Thu Jul 27 Fri Jul 28 Sat Jul 29 Sun Jul 30 Mon Jul 31 Tue Aug 01

Total Market Demand Wed Jul 26 Thu Jul 27 Fri Jul 28 Sat Jul 29 Sun Jul 30 Mon Jul 31 Tue Aug 01 MW July 26, 2017 - August 1, 2017 This report provides a summary of key market data from the IESO-administered markets. It is intended to provide a quick reference for all market stakeholders. It is composed

More information

CIMA Certificate BA Interactive Timetable

CIMA Certificate BA Interactive Timetable CIMA Certificate BA Interactive Timetable 2018 Nottingham & Leicester Version 3.2 Information last updated 09/03/18 Please note: Information and dates in this timetable are subject to change. Introduction

More information

CIMA Asia. Interactive Timetable Live Online

CIMA Asia. Interactive Timetable Live Online CIMA Asia Interactive Timetable 2018 Live Online Information version 8 last updated 04/05/18 Please note information and dates are subject to change. Premium Learning Partner 2018 CIMA Cert BA Course Overview

More information

Lecture 6: Constraint Satisfaction Problems (CSPs)

Lecture 6: Constraint Satisfaction Problems (CSPs) Lecture 6: Constraint Satisfaction Problems (CSPs) CS 580 (001) - Spring 2018 Amarda Shehu Department of Computer Science George Mason University, Fairfax, VA, USA February 28, 2018 Amarda Shehu (580)

More information

San Joaquin County Emergency Medical Services Agency

San Joaquin County Emergency Medical Services Agency San Joaquin County Emergency Medical Services Agency http://www.sjgov.org/ems Memorandum TO: All Interested Parties FROM: Rick Jones, EMS Analyst DATE: January, 19 Mailing Address PO Box French Camp, CA

More information

Validating Plans with Durative Actions via Integrating Boolean and Numerical Constraints

Validating Plans with Durative Actions via Integrating Boolean and Numerical Constraints Validating Plans with Durative Actions via Integrating Boolean and Numerical Constraints Roman Barták Charles University in Prague, Faculty of Mathematics and Physics Institute for Theoretical Computer

More information

CIMA Asia. Interactive Timetable Live Online

CIMA Asia. Interactive Timetable Live Online CIMA Asia Interactive Timetable 2017 2018 Live Online Version 1 Information last updated 09 October 2017 Please note: Information and dates in this timetable are subject to change. CIMA Cert BA Course

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. S. Russell and P. Norvig. Artificial Intelligence:

More information

NORTHWEST. Course Schedule: Through June 2018 MICROSOFT ACCESS. Access 2016 / Access 2010 / Last Revised: 11/13/2017

NORTHWEST. Course Schedule: Through June 2018 MICROSOFT ACCESS. Access 2016 / Access 2010 / Last Revised: 11/13/2017 2659 Commercial Street SE, Suite 210 Salem, Oregon 97302 The Professional s Choice since 1983 Locally Owned & Operated Course Schedule: Through June 2018 Last Revised: 11/13/2017 Phone: (503) 362-4818

More information

This report is based on sampled data. Jun 1 Jul 6 Aug 10 Sep 14 Oct 19 Nov 23 Dec 28 Feb 1 Mar 8 Apr 12 May 17 Ju

This report is based on sampled data. Jun 1 Jul 6 Aug 10 Sep 14 Oct 19 Nov 23 Dec 28 Feb 1 Mar 8 Apr 12 May 17 Ju 0 - Total Traffic Content View Query This report is based on sampled data. Jun 1, 2009 - Jun 25, 2010 Comparing to: Site 300 Unique Pageviews 300 150 150 0 0 Jun 1 Jul 6 Aug 10 Sep 14 Oct 19 Nov 23 Dec

More information

Job Shop Scheduling Problem (JSSP) Genetic Algorithms Critical Block and DG distance Neighbourhood Search

Job Shop Scheduling Problem (JSSP) Genetic Algorithms Critical Block and DG distance Neighbourhood Search A JOB-SHOP SCHEDULING PROBLEM (JSSP) USING GENETIC ALGORITHM (GA) Mahanim Omar, Adam Baharum, Yahya Abu Hasan School of Mathematical Sciences, Universiti Sains Malaysia 11800 Penang, Malaysia Tel: (+)

More information

Crossword Puzzles as a Constraint Problem

Crossword Puzzles as a Constraint Problem Crossword Puzzles as a Constraint Problem Anbulagan and Adi Botea NICTA and Australian National University, Canberra, Australia {anbulagan,adi.botea}@nicta.com.au Abstract. We present new results in crossword

More information

Mathematical Programming Formulations, Constraint Programming

Mathematical 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 information

IT Services Executive Summary May 2017 1631 Incidents KPI As expected, the trend for a majority (1631) (4365) Incidents 78% Volumes Requests Requests 94% (4) (158) P1 Inc. 50% 4365 P2 Inc. 88% 2211 Phone

More information

Constraint Programming

Constraint Programming Constraint Programming - An overview Examples, Satisfaction vs. Optimization Different Domains Constraint Propagation» Kinds of Consistencies Global Constraints Heuristics Symmetries 7 November 0 Advanced

More information

Constraint Satisfaction Problems. Chapter 6

Constraint Satisfaction Problems. Chapter 6 Constraint Satisfaction Problems Chapter 6 Office hours Office hours for Assignment 1 (ASB9810 in CSIL): Sep 29th(Fri) 12:00 to 13:30 Oct 3rd(Tue) 11:30 to 13:00 Late homework policy You get four late

More information

Announcements. CS 188: Artificial Intelligence Spring Today. Example: Map-Coloring. Example: Cryptarithmetic.

Announcements. CS 188: Artificial Intelligence Spring Today. Example: Map-Coloring. Example: Cryptarithmetic. CS 188: Artificial Intelligence Spring 2010 Lecture 5: CSPs II 2/2/2010 Pieter Abbeel UC Berkeley Many slides from Dan Klein Announcements Project 1 due Thursday Lecture videos reminder: don t count on

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems Tuomas Sandholm Carnegie Mellon University Computer Science Department [Read Chapter 6 of Russell & Norvig] Constraint satisfaction problems (CSPs) Standard search problem:

More information

3rd CHR Summer School Topics: Introduction to Constraint Programming

3rd CHR Summer School Topics: Introduction to Constraint Programming 3rd CHR Summer School Topics: Introduction to Constraint Programming Prof. Dr. Slim Abdennadher 8.7.2013 c S.Abdennadher 1 Constraint Programming: Much Quoted Sentence Constraint Programming represents

More information

CS 188: Artificial Intelligence Fall 2008

CS 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 information

Announcements. CS 188: Artificial Intelligence Fall Large Scale: Problems with A* What is Search For? Example: N-Queens

Announcements. 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 information

Disjoint, Partition and Intersection Constraints for Set and Multiset Variables

Disjoint, Partition and Intersection Constraints for Set and Multiset Variables Disjoint, Partition and Intersection Constraints for Set and Multiset Variables Christian Bessiere ½, Emmanuel Hebrard ¾, Brahim Hnich ¾, and Toby Walsh ¾ ¾ ½ LIRMM, Montpelier, France. Ö Ð ÖÑÑ Ö Cork

More information

AUTOMATED REASONING. Agostino Dovier. Udine, October 1, Università di Udine CLPLAB

AUTOMATED REASONING. Agostino Dovier. Udine, October 1, Università di Udine CLPLAB AUTOMATED REASONING Agostino Dovier Università di Udine CLPLAB Udine, October 1, 2018 AGOSTINO DOVIER (CLPLAB) AUTOMATED REASONING UDINE, OCTOBER 1, 2018 1 / 28 COURSE PLACEMENT International Master Degree

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition,

More information

Introduction to Constraint Programming

Introduction to Constraint Programming DM841 Discrete Optimization Part II Lecture 1 Introduction to Constraint Programming Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline Course Introduction

More information

Lecture 18. Questions? Monday, February 20 CS 430 Artificial Intelligence - Lecture 18 1

Lecture 18. Questions? Monday, February 20 CS 430 Artificial Intelligence - Lecture 18 1 Lecture 18 Questions? Monday, February 20 CS 430 Artificial Intelligence - Lecture 18 1 Outline Chapter 6 - Constraint Satisfaction Problems Path Consistency & Global Constraints Sudoku Example Backtracking

More information

Constraint Programming. Marco Kuhlmann & Guido Tack Lecture 1

Constraint Programming. Marco Kuhlmann & Guido Tack Lecture 1 Constraint Programming Marco Kuhlmann & Guido Tack Lecture 1 Welcome! Where am I? Constraint Programming advanced course in Computer Science 6 credit points lecture (2 hours) + lab (2 hours) http://www.ps.uni-sb.de/courses/cp-ss07/

More information

Modeling and Solving Staff Scheduling with Partial Weighted maxsat

Modeling and Solving Staff Scheduling with Partial Weighted maxsat Noname manuscript No. (will be inserted by the editor) Modeling and Solving Staff Scheduling with Partial Weighted maxsat Emir Demirović Nysret Musliu Felix Winter Received: date / Accepted: date Abstract

More information

software.sci.utah.edu (Select Visitors)

software.sci.utah.edu (Select Visitors) software.sci.utah.edu (Select Visitors) Web Log Analysis Yearly Report 2002 Report Range: 02/01/2002 00:00:0-12/31/2002 23:59:59 www.webtrends.com Table of Contents Top Visitors...3 Top Visitors Over Time...5

More information

Program Analysis and Constraint Programming

Program Analysis and Constraint Programming Program Analysis and Constraint Programming Joxan Jaffar National University of Singapore CPAIOR MasterClass, 18-19 May 2015 1 / 41 Program Testing, Verification, Analysis (TVA)... VS... Satifiability/Optimization

More information

Imputation for missing observation through Artificial Intelligence. A Heuristic & Machine Learning approach

Imputation for missing observation through Artificial Intelligence. A Heuristic & Machine Learning approach Imputation for missing observation through Artificial Intelligence A Heuristic & Machine Learning approach (Test case with macroeconomic time series from the BIS Data Bank) Byeungchun Kwon Bank for International

More information

SCHEDULED PROGRAMMES/COURSES APRIL 2017 MARCH 2018 (MIND KINGSTON / MANDEVILLE CAMPUSES & MONTEGO BAY)

SCHEDULED PROGRAMMES/COURSES APRIL 2017 MARCH 2018 (MIND KINGSTON / MANDEVILLE CAMPUSES & MONTEGO BAY) SCHEDULED PROGRAMMES/ IL CH 2 SCHEDULED PROGRAMMES/ IL CH Award Categories Certificate Advanced Records (Modules 1 5)** Auditing Fundamentals Level 1: Modules 1 4 (NEW) Budget Preparation & Effective Corporate

More information

Package RcppBDT. August 29, 2016

Package RcppBDT. August 29, 2016 Type Package Package RcppBDT August 29, 2016 Title Rcpp bindings for the Boost Date_Time library Version 0.2.3 Date 2014-04-13 Author Dirk Eddelbuettel and Romain Francois Maintainer This package provides

More information

I I. I I Wed 28-Jan-I WW1 - External Data I. EPF 29.5 Water Results. Consent of copyright owner required for any other use.

I I. I I Wed 28-Jan-I WW1 - External Data I. EPF 29.5 Water Results. Consent of copyright owner required for any other use. ~ EPF 29.5 Water Results 2. WW1 - External Data Frequency Parameter Week Day Date 2Mon 05-Jan-5. 1 06-Jan-5 [Wed ] 07-Jan-5 [Thu 1 08-Jan-5 Fri 09-Jan-5 O-Jan- 5 1 -Jan- 5 3 Mon 12-Jan- 5 ]Tue 13-Jan-5

More information

Outline. A Puzzle Example. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING

Outline. A Puzzle Example. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Lecture 7 Constraint Programming (2) Marco Chiarandini 1. 2. 2 Outline A Puzzle Example 1. 2. SEND + MORE = MONEY Two representations The first yields

More information

Constraint Satisfaction

Constraint 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 information

G53CLP Constraint Logic Programming

G53CLP Constraint Logic Programming G53CLP Constraint Logic Programming Dr Rong Qu Constraint Satisfaction Problems An Example Map coloring A region in a map has several sub-regions Given a set of colors Assign each sub-region a color so

More information

Constraint Satisfaction Problems

Constraint 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 information

10/16/2016 CPET 490 SENIOR DESIGN PROJECT PHASE I ANDROID GOLF STATISTICS TRACKER. Brad Sorensen Kory Martin PROJECT SUMMARY

10/16/2016 CPET 490 SENIOR DESIGN PROJECT PHASE I ANDROID GOLF STATISTICS TRACKER. Brad Sorensen Kory Martin PROJECT SUMMARY CPET 490 SENIOR DESIGN PROJECT PHASE I ANDROID GOLF STATISTICS TRACKER Brad Sorensen Kory Martin PROJECT SUMMARY 1 Project Summary Allow users to track and analyze statistical information about their golf

More information

CSE 473: Artificial Intelligence

CSE 473: Artificial Intelligence CSE 473: Artificial Intelligence Constraint Satisfaction Luke Zettlemoyer Multiple slides adapted from Dan Klein, Stuart Russell or Andrew Moore What is Search For? Models of the world: single agent, deterministic

More information

CS 188: Artificial Intelligence Fall 2011

CS 188: Artificial Intelligence Fall 2011 Announcements Project 1: Search is due next week Written 1: Search and CSPs out soon Piazza: check it out if you haven t CS 188: Artificial Intelligence Fall 2011 Lecture 4: Constraint Satisfaction 9/6/2011

More information

Outline. Best-first search

Outline. Best-first search Outline Best-first search Greedy best-first search A* search Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing search Genetic algorithms Constraint Satisfaction Problems

More information

Package taskscheduler

Package taskscheduler Type Package Package taskscheduler November 16, 2017 Title Schedule R Scripts and Processes with the Windows Task Scheduler Schedule R scripts/processes with the Windows task scheduler. This allows R users

More information

Course Summary! What have we learned and what are we expected to know?

Course Summary! What have we learned and what are we expected to know? Course Summary! What have we learned and what are we expected to know? Overview! Introduction Modelling in MiniZinc Finite Domain Constraint Solving Search Linear Programming and Network Flow Mixed Integer

More information

COURSE LISTING. Courses Listed. Training for Database & Technology with Modeling in SAP HANA. 20 November 2017 (12:10 GMT) Beginner.

COURSE LISTING. Courses Listed. Training for Database & Technology with Modeling in SAP HANA. 20 November 2017 (12:10 GMT) Beginner. Training for Database & Technology with Modeling in SAP HANA Courses Listed Beginner HA100 - SAP HANA Introduction Advanced HA300 - SAP HANA Certification Exam C_HANAIMP_13 - SAP Certified Application

More information

MONITORING REPORT ON THE WEBSITE OF THE STATISTICAL SERVICE OF CYPRUS DECEMBER The report is issued by the.

MONITORING REPORT ON THE WEBSITE OF THE STATISTICAL SERVICE OF CYPRUS DECEMBER The report is issued by the. REPUBLIC OF CYPRUS STATISTICAL SERVICE OF CYPRUS MONITORING REPORT ON THE WEBSITE OF THE STATISTICAL SERVICE OF CYPRUS DECEMBER The report is issued by the Monitoring Report STATISTICAL DISSEMINATION AND

More information

Symmetric Cardinality Constraints

Symmetric Cardinality Constraints Mälardalen University Licentiate Thesis No.59 Symmetric Cardinality Constraints Waldemar Kocjan December 2005 Department of Computer Science and Electronics Mälardalen University Västerås, Sweden Copyright

More information

Constraint Satisfaction Problems

Constraint 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 information

Recap: Search Problem. CSE 473: Artificial Intelligence. Space of Search Strategies. Constraint Satisfaction. Example: N-Queens 4/9/2012

Recap: Search Problem. CSE 473: Artificial Intelligence. Space of Search Strategies. Constraint Satisfaction. Example: N-Queens 4/9/2012 CSE 473: Artificial Intelligence Constraint Satisfaction Daniel Weld Slides adapted from Dan Klein, Stuart Russell, Andrew Moore & Luke Zettlemoyer Recap: Search Problem States configurations of the world

More information

ARTIFICIAL INTELLIGENCE (CS 370D)

ARTIFICIAL INTELLIGENCE (CS 370D) Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) (CHAPTER-6) CONSTRAINT SATISFACTION PROBLEMS Outline What is a CSP CSP applications Backtracking search

More information

SCHEDULED PROGRAMMES/COURSES APRIL 2018 MARCH 2019 (MIND KINGSTON / MANDEVILLE CAMPUSES & MONTEGO BAY)

SCHEDULED PROGRAMMES/COURSES APRIL 2018 MARCH 2019 (MIND KINGSTON / MANDEVILLE CAMPUSES & MONTEGO BAY) SCHEDULED PROGRAMMES/ IL CH 2 SCHEDULED PROGRAMMES/ IL CH Award Categories Certificate Advanced Records : Modules 1 5** Audit Fundamentals: Modules 1 4 Budget Preparation & Effective Corporate Governance

More information

APPENDIX E2 ADMINISTRATIVE DATA RECORD #2

APPENDIX E2 ADMINISTRATIVE DATA RECORD #2 APPENDIX E2 ADMINISTRATIVE DATA RECORD #2 Position (s} Document Identifier 1-3 PAB, PBB, or PEB PIIN 4-16 SPIIN 17-22 Must agree with the related P,_A Discount Terms 23-37 May be blank in the PBB an&peb

More information

VALCSP solver : a combination of Multi-Level Dynamic Variable Ordering with Constraint Weighting

VALCSP solver : a combination of Multi-Level Dynamic Variable Ordering with Constraint Weighting VALCS solver : a combination of Multi-Level Dynamic Variable Ordering with Constraint Weighting Assef Chmeiss, Lakdar Saïs, Vincent Krawczyk CRIL - University of Artois - IUT de Lens Rue Jean Souvraz -

More information

Reasoning with Conditional Time-intervals

Reasoning with Conditional Time-intervals Proceedings of the Twenty-First International FLAIRS Conference (2008) Reasoning with Conditional Time-intervals Philippe Laborie and Jérôme Rogerie ILOG 9 rue de Verdun 94253 Gentilly Cedex, France Abstract

More information

What is Search For? CS 188: Artificial Intelligence. Constraint Satisfaction Problems

What 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 information

The Branch & Move algorithm: Improving Global Constraints Support by Local Search

The Branch & Move algorithm: Improving Global Constraints Support by Local Search Branch and Move 1 The Branch & Move algorithm: Improving Global Constraints Support by Local Search Thierry Benoist Bouygues e-lab, 1 av. Eugène Freyssinet, 78061 St Quentin en Yvelines Cedex, France tbenoist@bouygues.com

More information

Tabu 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 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 information

Evolutionary Non-linear Great Deluge for University Course Timetabling

Evolutionary Non-linear Great Deluge for University Course Timetabling Evolutionary Non-linear Great Deluge for University Course Timetabling Dario Landa-Silva and Joe Henry Obit Automated Scheduling, Optimisation and Planning Research Group School of Computer Science, The

More information

Announcements. Reminder: CSPs. Today. Example: N-Queens. Example: Map-Coloring. Introduction to Artificial Intelligence

Announcements. 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 information

IT Services Executive Summary August 2017 KPI (974) (4106) Incidents 89% Requests 95% (4) (100) P1 Inc. 80% P2 Inc. 80% Incident and Service Request KPIs were expected to breach mainly due to the resourcing

More information

All King County Summary Report

All King County Summary Report September, 2016 MTD MARKET UPDATE Data Current Through: September, 2016 18,000 16,000 14,000 12,000 10,000 8,000 6,000 4,000 2,000 0 Active, Pending, & Months Supply of Inventory 15,438 14,537 6.6 6.7

More information

Lecture 10: Boolean Expressions

Lecture 10: Boolean Expressions Lecture 10: Boolean Expressions CS1068+ Introductory Programming in Python Dr Kieran T. Herley Department of Computer Science University College Cork 2017-2018 KH (12/10/17) Lecture 10: Boolean Expressions

More information

Constraint Satisfaction Problems

Constraint 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 information

libname learn "C:\sas\STAT6250\Examples"; /*Identifies library of data*/

libname learn C:\sas\STAT6250\Examples; /*Identifies library of data*/ CHAPTER 7 libname learn "C:\sas\STAT6250\Examples"; /*Identifies library of data*/ /*Problem 7.2*/ proc print data=learn.hosp; where Subject eq 5 or Subject eq 100 or Subject eq 150 or Subject eq 200;

More information

PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE

PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Artificial Intelligence, Computational Logic PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Lecture 10 Tree Decompositions Sarah Gaggl Dresden, 30th June 2015 Agenda 1 Introduction 2 Uninformed

More information

ROBUSTNESS IN DYNAMIC CONSTRAINT SATISFACTION PROBLEMS. Laura Climent, Miguel A. Salido and Federico Barber. Received January 2011; revised May 2011

ROBUSTNESS IN DYNAMIC CONSTRAINT SATISFACTION PROBLEMS. Laura Climent, Miguel A. Salido and Federico Barber. Received January 2011; revised May 2011 International Journal of Innovative Computing, Information and Control ICIC International c 2012 ISSN 1349-4198 Volume 8, Number 4, April 2012 pp. 2513 2532 ROBUSTNESS IN DYNAMIC CONSTRAINT SATISFACTION

More information

DSC 201: Data Analysis & Visualization

DSC 201: Data Analysis & Visualization DSC 201: Data Analysis & Visualization Time Series Dr. David Koop Pivot Tables tips total_bill tip sex smoker day time size tip_pct 0 16.99 1.01 Female No Sun Dinner 2 0.059447 1 10.34 1.66 Male No Sun

More information

Asks for clarification of whether a GOP must communicate to a TOP that a generator is in manual mode (no AVR) during start up or shut down.

Asks for clarification of whether a GOP must communicate to a TOP that a generator is in manual mode (no AVR) during start up or shut down. # Name Duration 1 Project 2011-INT-02 Interpretation of VAR-002 for Constellation Power Gen 185 days Jan Feb Mar Apr May Jun Jul Aug Sep O 2012 2 Start Date for this Plan 0 days 3 A - ASSEMBLE SDT 6 days

More information

CMU-Q Lecture 7: Searching in solution space Constraint Satisfaction Problems (CSPs) Teacher: Gianni A. Di Caro

CMU-Q Lecture 7: Searching in solution space Constraint Satisfaction Problems (CSPs) Teacher: Gianni A. Di Caro CMU-Q 15-381 Lecture 7: Searching in solution space Constraint Satisfaction Problems (CSPs) Teacher: Gianni A. Di Caro AI PLANNING APPROACHES SO FAR Goal: Find the (best) sequence of actions that take

More information

Evolutionary Non-Linear Great Deluge for University Course Timetabling

Evolutionary Non-Linear Great Deluge for University Course Timetabling Evolutionary Non-Linear Great Deluge for University Course Timetabling Dario Landa-Silva and Joe Henry Obit Automated Scheduling, Optimisation and Planning Research Group School of Computer Science, The

More information

HYBRID GENETIC ALGORITHM AND GREEDY RANDOMIZED ADAPTIVE SEARCH PROCEDURE FOR SOLVING A NURSE SCHEDULING PROBLEM

HYBRID GENETIC ALGORITHM AND GREEDY RANDOMIZED ADAPTIVE SEARCH PROCEDURE FOR SOLVING A NURSE SCHEDULING PROBLEM HYBRID GENETIC ALGORITHM AND GREEDY RANDOMIZED ADAPTIVE SEARCH PROCEDURE FOR SOLVING A NURSE SCHEDULING PROBLEM 1 CHEBIHI FAYCAL, 2 MOHAMMED ESSAID RIFFI, 3 BELAID AHIOD 1 Research Scholar, Department

More information

TCA metric #3. TCA and fair execution. The metrics that the FX industry must use.

TCA metric #3. TCA and fair execution. The metrics that the FX industry must use. LMAX Exchange: TCA white paper V1. - May 17 TCA metric #3 TCA and fair execution. The metrics that the FX industry must use. An analysis and comparison of common FX execution quality metrics between last

More information

CS 188: Artificial Intelligence. Recap: Search

CS 188: Artificial Intelligence. Recap: Search CS 188: Artificial Intelligence Lecture 4 and 5: Constraint Satisfaction Problems (CSPs) Pieter Abbeel UC Berkeley Many slides from Dan Klein Recap: Search Search problem: States (configurations of the

More information

HPE Security Data Security. HPE SecureData. Product Lifecycle Status. End of Support Dates. Date: April 20, 2017 Version:

HPE Security Data Security. HPE SecureData. Product Lifecycle Status. End of Support Dates. Date: April 20, 2017 Version: HPE Security Data Security HPE SecureData Product Lifecycle Status End of Support Dates Date: April 20, 2017 Version: 1704-1 Table of Contents Table of Contents... 2 Introduction... 3 HPE SecureData Appliance...

More information

Constraint Satisfaction Problems (CSPs)

Constraint 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

Questions? Static Semantics. Static Semantics. Static Semantics. Next week on Wednesday (5 th of October) no

Questions? Static Semantics. Static Semantics. Static Semantics. Next week on Wednesday (5 th of October) no Questions? First exercise is online: http://www.win.tue.nl/~mvdbrand/courses/glt/1112/ Deadline 17 th of October Next week on Wednesday (5 th of October) no lectures!!! Primitive types Primitive value

More information

18050 (2.48 pages/visit) Jul Sep May Jun Aug Number of visits

18050 (2.48 pages/visit) Jul Sep May Jun Aug Number of visits 30-12- 0:45 Last Update: 29 Dec - 03:05 Reported period: OK Summary Reported period Month Dec First visit 01 Dec - 00:07 Last visit 28 Dec - 23:59 Unique visitors Number of visits Pages Hits Bandwidth

More information

Seattle (NWMLS Areas: 140, 380, 385, 390, 700, 701, 705, 710) Summary

Seattle (NWMLS Areas: 140, 380, 385, 390, 700, 701, 705, 710) Summary September, 2016 MTD MARKET UPDATE Data Current Through: September, 2016 (NWMLS Areas: 140, 380, 385, 390,, 701, 705, 710) Summary Active, Pending, & Months Supply of Inventory 5,000 4,500 4,000 3,500 4,091

More information

SOLVING THE TASK ASSIGNMENT PROBLEM WITH A VARIABLE NEIGHBORHOOD SEARCH. Jozef Kratica, Aleksandar Savić, Vladimir Filipović, Marija Milanović

SOLVING THE TASK ASSIGNMENT PROBLEM WITH A VARIABLE NEIGHBORHOOD SEARCH. Jozef Kratica, Aleksandar Savić, Vladimir Filipović, Marija Milanović Serdica J. Computing 4 (2010), 435 446 SOLVING THE TASK ASSIGNMENT PROBLEM WITH A VARIABLE NEIGHBORHOOD SEARCH Jozef Kratica, Aleksandar Savić, Vladimir Filipović, Marija Milanović Abstract. In this paper

More information

UK EPR GDA PROJECT. Name/Initials Date 30/06/2011 Name/Initials Date 30/06/2011. Resolution Plan Revision History

UK EPR GDA PROJECT. Name/Initials Date 30/06/2011 Name/Initials Date 30/06/2011. Resolution Plan Revision History RP unique number: Page GI-UKEPR-RP-01-RP 0 30/06/2011 1 of 5 Approved for EDF by: A. PETIT Approved for AREVA by: C. WOOLDRIDGE Name/Initials Date 30/06/2011 Name/Initials Date 30/06/2011 Resolution Plan

More information

Constraint Programming for Timetabling

Constraint Programming for Timetabling Constraint Programming for Faculty of Informatics, Masaryk University Brno, Czech Republic http://www.fi.muni.cz/~hanka ASAP Seminar, 2004 University Course demands for individual students conflicts among

More information

Decomposable Constraints

Decomposable Constraints Decomposable Constraints Ian Gent 1, Kostas Stergiou 2, and Toby Walsh 3 1 University of St Andrews, St Andrews, Scotland. ipg@dcs.st-and.ac.uk 2 University of Strathclyde, Glasgow, Scotland. ks@cs.strath.ac.uk

More information

CS 188: Artificial Intelligence Spring Announcements

CS 188: Artificial Intelligence Spring Announcements CS 188: Artificial Intelligence Spring 2006 Lecture 4: CSPs 9/7/2006 Dan Klein UC Berkeley Many slides over the course adapted from either Stuart Russell or Andrew Moore Announcements Reminder: Project

More information