Debugging Constraint Models with Metamodels and Metaknowledge

Slides:



Advertisements
Similar presentations
Slides of the Invited Talk at the CAEPIA Workshop on Planning, Scheduling and Temporal Reasoning (Held on November 11, 2003 by Alexander Nareyek) Note.
Advertisements

Heuristic Search techniques
Constraint Satisfaction Problems Russell and Norvig: Parts of Chapter 5 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2004/home.htm Prof: Dekang.
Supporting Business Decisions Expert Systems. Expert system definition Possible working definition of an expert system: –“A computer system with a knowledge.
EE 553 Integer Programming
1 Stochastic Event Capture Using Mobile Sensors Subject to a Quality Metric Nabhendra Bisnik, Alhussein A. Abouzeid, and Volkan Isler Rensselaer Polytechnic.
Making Choices using Structure at the Instance Level within a Case Based Reasoning Framework Cormac Gebruers*, Alessio Guerri †, Brahim Hnich* & Michela.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Constraint Satisfaction Problems
1 Bandwidth Allocation Planning in Communication Networks Christian Frei & Boi Faltings Globecom 1999 Ashok Janardhanan.
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
Nogood Recording for Static and Dynamic Constraint Satisfaction Problems Thomas Schiex, Gerard Verfaillie C.E.R.T.-O.N.E.R.A.(France)
Distributed Constraint Optimization * some slides courtesy of P. Modi
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
Chapter 3 Introduction to Optimization Modeling
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
ENCI 303 Lecture PS-19 Optimization 2
Topology aggregation and Multi-constraint QoS routing Presented by Almas Ansari.
Some Key Facts About Optimal Solutions (Section 14.1) 14.2–14.16
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
Chapter 19: The Solver Re-Visited Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Mathematical Models & Optimization?
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
1 Lagrangean Relaxation --- Bounding through penalty adjustment.
Constraint Systems Laboratory 11/26/2015Zhang: MS Project Defense1 OPRAM: An Online System for Assigning Capstone Course Students to Sponsored Projects.
GAME PLAYING 1. There were two reasons that games appeared to be a good domain in which to explore machine intelligence: 1.They provide a structured task.
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents CD Chapter 14 (Solution Concepts for Linear Programming) Some Key Facts.
Constraints and Search Toby Walsh Cork Constraint Computation Centre (4C) Logic & AR Summer School, 2002.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
UAH Course Scheduler Team Pegasus: John Gleason Julie Poole Steven Boyer.
Lagrangean Relaxation
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
Airline Optimization Problems Constraint Technologies International
Instructional Design Document Simplex Method - Optimization STAM Interactive Solutions.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Wolfgang Runte Slide University of Osnabrueck, Software Engineering Research Group Wolfgang Runte Software Engineering Research Group Institute.
LINGO TUTORIAL.
Modelling and Solving Configuration Problems on Business
Decision Support Systems
OPERATING SYSTEMS CS 3502 Fall 2017
Inference and search for the propositional satisfiability problem
Solver & Optimization Problems
Excel Solver IE 469 Spring 2017.
Consistency Methods for Temporal Reasoning
Local Container Truck Routing Problem with its Operational Flexibility Kyungsoo Jeong, Ph.D. Candidate University of California, Irvine Local container.
An Algorithm for Multi-Criteria Optimization in CSPs
Title: Suggestion Strategies for Constraint- Based Matchmaker Agents
Design and Analysis of Algorithm
1.206J/16.77J/ESD.215J Airline Schedule Planning
Knowledge Representation
Excel Solver IE 469 Spring 2018.
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Network Optimization Research Laboratory
Integer Linear Programming
Chapter 3: Finite Constraint Domains
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
Informed search algorithms
Excel Solver IE 469 Fall 2018.
LAOS: Layered WWW AHS Authoring Model and their corresponding Algebraic Operators Alexandra I. Cristea UPB intensive course “Adaptive Hypermedia” January.
Chapter 5. The Duality Theorem
Constraints and Search
LAOS: Layered WWW AHS Authoring Model and their corresponding Algebraic Operators Alexandra I. Cristea UNESCO workshop “Personalization in Education” Feb’04.
Excel Solver IE 469 Spring 2019.
Directional consistency Chapter 4
Branch-and-Bound Algorithm for Integer Program
A handbook on validation methodology. Metrics.
CS137: Electronic Design Automation
Presentation transcript:

Debugging Constraint Models with Metamodels and Metaknowledge Eugene C. Freuder1 Richard J. Wallace1 Tomas E. Nordlander2 1Cork Constraint Computation Centre University College Cork 2SINTEF

Outline Model Debugging Ananke 1.0 Future Work Example Related work Interface Meta Knowledge Metrics Preliminary Results Future Work

Model Debugging Given: a CSP model that is incorrect in some respects Not yet complete World has changed (World needs to be changed) Given: a Knowledgeable User, who knows that a given assignment should be possible Goal: to adjust model to accommodate the new information

Model Debugging - Small Example A meeting scheduling problem 3 meetings – A, B, C ( Variables ) Each meeting can be held at 11 AM or 1 PM ( Domain values ) Meeting A must be held before meeting B ( Constraint 1 ) Meeting B must be held at the same time as C ( Constraint 2 ) A B C < =

Model Debugging - Small Example Modeller A B C < = 1 PM  DA User

Model Debugging - Small Example Modeller {solutions} =∅ ??? User

Model Debugging - Small Example Modeller {solutions} =∅ 1 PM  DA ! User

Small Example 1 PM  DA ! What if we allow A to occur after B? Modeller What if we allow A to occur after B? 1 PM  DA ! User

Model Debugging - Small Example Modeller Okay A B C <> = ? User

Related Work Partial CSP Interactive constraint solving (usually) different metric Interactive constraint solving Here, adjusting our model, not telling user that a given assignment is infeasible Constraint-based matchmaking There, system suggested solutions, user indicated additional constraints Here, user indicates solutions, system adjusts constraints

Outline Model Debugging Ananke 1.0 Future Work Example Related work Interface Meta Knowledge Metrics Preliminary Results Future Work

Ananke 1.0 Present system goes under the name, “Ananke”, a Greek goddess who was the “personification of destiny, necessity and fate”, i.e. the Goddess of Constraints In its full manifestation, Ananke is intended serve as a general environment for acquiring and modifying constraint models An inspiration for this work is Teiresias, an early system that used meta-knowledge to improve incomplete or incorrect rule bases

Ananke 1.0 Interface

Model & User Suggestion

Maximal Match

Suggestions

Ananke Debugging Overview Partial Complete Range No solution Expected solution MK ES found CSP Search User Suggested changes Debug Previous Users Any =< => < > ∅ = <> CSP MK CSP loaded Expected solution inserted Meta Knowledge added Constraints Search heuristic Complete Search Start If solution found, user informed. And can then check other expected solutions. If solution NOT found, closeness appear along with the DEBUG option DEBUG Meta Constraints are added A branch and bound algorithm with a cost function that aim to find the minimum change on constraint to include the solution. Cost function is decided by the user RESULT: a set of constraint changes Meta Knowledge Model

Metaknowledge To guide the Search Heuristic Missing solution(s) are represented by a “missing solution constraint” (ms-constraint) over a subset of the problem variables e.g. A = 1 PM To guide the Search Heuristic

Metrics Basic metric: number of solutions added by the changes in constraints - Since this is often too hard to compute, we would like to use some surrogate metric Step measure according to possible relaxations among the values of the meta-variable A B C < = Any =< => < > ∅ = <> 1 step

Metrics Tuple measure = number of extra tuples allowed by a relaxation Example of tuple metric For |d| = 5 Any =< => < > ∅ = <> 10 10 5 {1,2,3,4,5} {1,2,3,4,5} A B C < = 10 10 5 10 10 5 5 10 10

Heuristics Order changes in a constraint according to cost function involved Restrict search to meta-variables for “link constraints” – i.e. constraints adjacent to unmatched variables in partial solution

Outline Model Maintenance Ananke Future Work Example Related work Interface Meta Knowledge Metrics Preliminary Results Future Work

Algorithm Simple branch and bound – based on chosen metric Looks for all minimal relaxations that give a CSP with desired solution(s) When new best-cost CSP found, calls CSP solver to check feasibility ECAI 2008 Workshop on Modeling and Solving Problems with Constraints 21 July 2008

Preliminary Results

Outline Model Debugging Ananke 1.0 Future Work Example Related work Interface Meta Knowledge Metrics Preliminary Results Future Work

Future Work Improve algorithms Enlarge scope of meta-CSPs Take advantage of CSP and MAX-CSP methods Expand on heuristics (e.g. vary focus) Enlarge scope of meta-CSPs Greater number of constraint types E.g. Allen’s Algebra Make interface more flexible User should be able to indicate that solutions should be present that have a certain property (not just A = 1 PM)

THE END