Paper Presentation Classroom Assignment using Constraint Logic Programming [Slim Abdennadher, Matthias Saft, Sebastian Will] University of Munich Presented.

Slides:



Advertisements
Similar presentations
Types and Programming Languages Lecture 13 Simon Gay Department of Computing Science University of Glasgow 2006/07.
Advertisements

CICLOPS 2001 Finite Domain Constraints in SICStus Prolog Mats Carlsson Swedish Institute of Computer Science
Vectors 5: The Vector Equation of a Plane
Course Summary What have we learned and what are we expected to know?
Global Constraints Toby Walsh National ICT Australia and University of New South Wales
Introduction. IC-Parc2 ECLiPSe Components Constraint Logic Programming system, consisting of  A runtime core Data-driven computation, backtracking, garbage.
IJCAI Russian Doll Search with Tree Decomposition Martí Sànchez, David Allouche, Simon de Givry, and Thomas Schiex INRA Toulouse, FRANCE.
Cs774 (Prasad)L12CLP1 Constraint Logic Programming
Models and Methods for the Judge Assignment Problem Amina Lamghari Jacques A. Ferland Computer Science & OR Dept. University of Montreal.
1 Pierangelo Dell’Acqua Dept. of Science and Technology Linköping University Constraint programming 2001 November 13th 2001
Constraint Satisfaction Problems. Constraint satisfaction problems (CSPs) Standard search problem: – State is a “black box” – any data structure that.
Academic Advisor: Prof. Ronen Brafman Team Members: Ran Isenberg Mirit Markovich Noa Aharon Alon Furman.
School of Computing and Mathematics, University of Huddersfield CAS810: WEEK 3 LECTURE: LAMBDA CALCULUS PRACTICAL/TUTORIAL: (i) Do exercises given out.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
1 Optimisation Although Constraint Logic Programming is somehow focussed in constraint satisfaction (closer to a “logical” view), constraint optimisation.
Creating Difficult Instances of the Post Correspondence Problem Presenter: Ling Zhao Department of Computing Science University of Alberta March 20, 2001.
CSE 311 Foundations of Computing I Lecture 6 Predicate Logic Autumn 2011 CSE 3111.
School of Computing Science CMT1000 Ed Currie © Middlesex University 1 CMT1000: Introduction to Programming Ed Currie Lecture 5B: Branch Statements - Making.
Dr Eleni Mangina – COURSE: LOGIC PROGRAMMING (during a joint degree with Fudan University in Software Engineering) DEPT. OF COMPUTER SCIENCE UCD LOGIC.
Constrained Pattern Assignment for Standard Cell Based Triple Patterning Lithography H. Tian, Y. Du, H. Zhang, Z. Xiao, M. D.F. Wong Department of ECE,
7/14/20151 Constraint Programming 2001 Edition Jan Maluszynski and Ulf Nilsson TCSLAB, LiU {janma,
Global Constraints for Lexicographic Orderings Alan Frisch, Ian Miguel (University of York) Brahim Hnich, Toby Walsh (4C) Zeynep Kiziltan (Uppsala University)
Antoine Girard VAL-AMS Project Meeting April 2007 Behavioral Metrics for Simulation-based Circuit Validation.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Leonardo de Moura Microsoft Research. Many approaches Graph-based for difference logic: a – b  3 Fourier-Motzkin elimination: Standard Simplex General.
How to Play Sudoku & Win Integer Programming Formulation of a Popular Game Sven LeyfferSven Leyffer, Argonne, Feb. 15, 2005 (windoze powerpoint sumi painting.
1 Constraint Programming: An Introduction Adapted by Cristian OLIVA from Peter Stuckey (1998) Ho Chi Minh City.
CONSTRAINT PROGRAMMING Computer Science Seminar April 9 th, 2004 Kerem Kacel.
An Introduction to Measurement and Evaluation Emily H. Wughalter, Ed.D. Summer 2010 Department of Kinesiology.
Can a Meta-GA solve timetabling problems? Christian Blum, Sebastião Correia, Olivia Rossi-Doria, Marko Snoek, Marco Dorigo (team leader), Ben Paechter.
Automatic Editing with Hard and Soft Edits – Some First Experiences Sander Scholtus Sevinç Göksen (Statistics Netherlands)
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
HOW TO MAKE A TIMETABLE USING GENETIC ALGORITHMS Introduction with an example.
University Course Timetabling with Soft Constraints Hana Rudova, Keith Murray Presented by: Marlien Edward.
Computer Science CPSC 322 Lecture 13 Arc Consistency (4.5, 4.6 ) Slide 1.
© J. Christopher Beck Lecture 16: Introduction to Service Scheduling.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
FINAL EXAM SCHEDULER (FES) Department of Computer Engineering Faculty of Engineering & Architecture Yeditepe University By Ersan ERSOY (Engineering Project)
Heavy-Tailed Phenomena in Satisfiability and Constraint Satisfaction Problems by Carla P. Gomes, Bart Selman, Nuno Crato and henry Kautz Presented by Yunho.
Comp763: Modern Computer Games Using Constraint Logic Programming to Analyze the Chronology in a William Faulkner Story Jennifer BurgSheau-Dong Lang Irwin.
Computer Science: A Structured Programming Approach Using C1 5-2 Two-Way Selection The decision is described to the computer as a conditional statement.
© J. Christopher Beck Lecture 17: Introduction to Timetabling.
Kanpur Genetic Algorithms Laboratory IIT Kanpur 25, July 2006 (11:00 AM) Multi-Objective Dynamic Optimization using Evolutionary Algorithms by Udaya Bhaskara.
Solving Problems by searching Well defined problems A probem is well defined if it is easy to automatically asses the validity (utility) of any proposed.
The previous mathematics courses your have studied dealt with finite solutions to a given problem or problems. Calculus deals more with continuous mathematics.
On the Relation between SAT and BDDs for Equivalence Checking Sherief Reda Rolf Drechsler Alex Orailoglu Computer Science & Engineering Dept. University.
Chapter 5 Constraint Satisfaction Problems
Chapter 2) CSP solving-An overview Overview of CSP solving techniques: problem reduction, search and solution synthesis Analyses of the characteristics.
Tommy Messelis * Stefaan Haspeslagh Patrick De Causmaecker *
03/02/20061 Evaluating Top-k Queries Over Web-Accessible Databases Amelie Marian Nicolas Bruno Luis Gravano Presented By: Archana and Muhammed.
Production Scheduling Lorena Kawas lk2551 Raul Galindo rg2802.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Roman Barták (Charles University in Prague, Czech Republic) ACAT 2010.
Review for Test 2 Chapters 5 (start at 5.4), 6.1, , 12, 13, 15.1, Python.
Tabu Search for Solving Personnel Scheduling Problem
Engineering Economics (2+0)
Recursive stack-based version of Back-chaining using Propositional Logic
6-2 Solving Systems using Substitution
CSE 311 Foundations of Computing I
Constraints and Search
Review for Test1.
Chapter 3: Finite Constraint Domains
Artificial Intelligence
Constraint satisfaction problems
Dr. Unnikrishnan P.C. Professor, EEE
Presented by: Amira Gamaleldin Marlien Edward Mounir Stino
3-3 Systems of Inequality
College Algebra Sixth Edition
Constraint-based problem solving
Constraint satisfaction problems
Presentation transcript:

Paper Presentation Classroom Assignment using Constraint Logic Programming [Slim Abdennadher, Matthias Saft, Sebastian Will] University of Munich Presented by: Amira Gamal Eldin 13 July 2006

Introduction Discussion problem: scheduling a set of courses into a fixed number of rooms, given a fixed timetable. Using CLP: adapts to changing scheduling characteristics RoomPlan System (2000): for room scheduling in the University of Munich, Computer Science department, maximum of 1000 courses

How? Solution uses “ glass-box ” approach using CHR, to write our own constraint solver. Hard Constraints: conditions that must be satisfied. Soft Constraints: satisfied as far as possible. Quality: measures the set of satisfied constraints.

Constraint Model Each constraint is given a weight  to express its importance. Wishes are expressed as: Wish(Type, CourseDate, Wished, Weight) WHERE: Type = wish type (room, building, equipment) CourseDate = course date identifier Wished = instance of the wish Weight = weight/importance of wish

Hard Constraints Given infinite weight E.g. Occupation time of a room by courses must not overlap all_distinct(course_date_variables) Assigning a course date variable to the wished room: assignment(CDate,CDateVar), CDateVar::Dom, wish(room, CDate, RoomWish, infinite) assignment(CDate, CDateVar), CDateVar :: Dom, CDateVar :: [RoomWish]. (binding the room to the wished room + removes the wish)

Soft Constraints Example of rule handling already satisfied soft constraints assignment(CDate,CDateVar), CDateVar::[RoomWish], wish(room,CDate,RoomWish,Weight), scoreWish(Up) Weight \== infinte, | assignment(CDate,CDateVar), CDateVar::[RoomWish].

Soft Constraints II Example rule where the room constraint is violated (wished room is not contained in the domain of the course date variable) so the upper bound of the score is decreased. assignment(CDate,CDateVar), CDateVar::Dom, wish(room, CDate, RoomWish, Weight), scoreWish(Up) Weight \== infinte, \+member (RoomWish, Dom) | assignment(CDate,CDateVar), CDateVar :: Dom, scoreWish(Up-Weight).

Soft Constraints III Wish score to use? score(A),score(B) A=<B | score(A) (remove larger of two upper bounds) To fail whenever the score of an assignment in a current branch is better than the last score: Last_score(LastScore), score(Up) LastScore >= Up | false

Conclusion RoomPlan System was developed using Sicstus Prolog, and its interface using Java AWT 1.1. CHR was used to extend the existing finite domain solver to deal with soft constraints. The system dealt with different constraints by giving them weights and calculating the cost function during the propagation of constraints. Equations were used to calculate the strength of the soft constraints.