Foundations of Constraint Processing CSP 101: continued1 Foundations of Constraint Processing CSCE421/821, Spring 2011 www.cse.unl.edu/~choueiry/S11-421-821/

Slides:



Advertisements
Similar presentations
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Advertisements

Adopt Algorithm for Distributed Constraint Optimization
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Constraint Consistency Chapter 3.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Foundations of Constraint Processing, Spring 2008 April 16, 2008 Tree-Structured CSPs1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Programming with Constraints Jia-Huai You. Subject of Study Constraint Programming (CP) studies the computational models, languages, and systems for solving.
Foundations of Constraint Processing, Fall 2005 October 21, 2005CSPs and Relational DBs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense1 An Improved Restart Strategy for Randomized Backtrack Search Venkata P. Guddeti Constraint.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002.
Foundations of Constraint Processing, Fall 2005 September 12, 2005CSP 101: continued1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
1 Optimisation Although Constraint Logic Programming is somehow focussed in constraint satisfaction (closer to a “logical” view), constraint optimisation.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Foundations of Constraint Processing Evaluation to BT Search 1 Foundations of Constraint Processing CSCE421/821, Spring
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
Foundations of Constraint Processing, Fall 2005 Sep 20, 2005BT: A Theoretical Evaluation1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
A New Efficient Algorithm for Solving the Simple Temporal Problem Lin Xu & Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Stochastic greedy local search Chapter 7 ICS-275 Spring 2007.
Foundations of Constraint Processing, Fall 2005 November 2, 2005Weak Commitment1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Computer-aided modelling of constraint problems C. Bessiere, LIRMM-CNRS, Montpellier, France In collaboration with: E. Freuder, B. O’Sullivan, U. College.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
CONSTRAINT PROGRAMMING Computer Science Seminar April 9 th, 2004 Kerem Kacel.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
An Improved Algorithm to Accelerate Regular Expression Evaluation Author: Michela Becchi, Patrick Crowley Publisher: 3rd ACM/IEEE Symposium on Architecture.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Constraint Satisfaction Problems Chapter 6. Review Agent, Environment, State Agent as search problem Uninformed search strategies Informed (heuristic.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Foundations of Constraint Processing, Spring 2008 Jan 14, 2008 Overview 11 Foundations of Constraint Processing CSCE421/821, Spring 2008:
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
Constraints and Search Toby Walsh Cork Constraint Computation Centre (4C) Logic & AR Summer School, 2002.
Multiagent System Katia P. Sycara 일반대학원 GE 랩 성연식.
ANTs PI meeting, Dec. 17, 2001Washington University / DCMP1 Flexible Methods for Multi-agent Distributed Resource Allocation by Exploiting Phase Transitions.
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Foundations of Constraint Processing, Fall 2004 October 3, 2004Interchangeability in CSPs1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
ERA on an over-constrained problem A Constraint-Based System for Hiring & Managing Graduate Teaching Assistants Ryan Lim, Praveen Venkata Guddeti, and.
The Hebrew University of Jerusalem School of Engineering and Computer Science Academic Year: 2011/2012 Instructor: Jeff Rosenschein.
Consistency Methods for Temporal Reasoning
Constraint Satisfaction Problem
Empirical Comparison of Preprocessing and Lookahead Techniques for Binary Constraint Satisfaction Problems Zheying Jane Yang & Berthe Y. Choueiry Constraint.
Foundations of Constraint Processing
CSPs and Relational DBs
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Evaluation of (Deterministic) BT Search Algorithms
Extensions to BT Search Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
Market-based Dynamic Task Allocation in Mobile Surveillance Systems
Evaluation of (Deterministic) BT Search Algorithms
Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Foundations of Constraint Processing
Constraint Satisfaction Problems
Constraint satisfaction problems
Structure-Based Methods Foundations of Constraint Processing
Rationale & Strategies Foundations of Constraint Processing
Consistency algorithms
Presentation transcript:

Foundations of Constraint Processing CSP 101: continued1 Foundations of Constraint Processing CSCE421/821, Spring All questions to Berthe Y. Choueiry (Shu-we-ri) Avery Hall, Room 360 Tel: +1(402) Constraint Satisfaction 101

Foundations of Constraint Processing CSP 101: continued2 Outline Motivating example, application areas CSP: Definition, representation Some simple modeling examples More on definition and formal characterization Basic solving techniques Implementing backtrack search Advanced solving techniques Issues & research directions CSP in a nutshell Constraint Logic Programming (quickly)

Foundations of Constraint Processing CSP 101: continued3 Outline Advanced solving techniques Decomposition Deep analysis (islands of tractability) Distributed CSPs Issues & research directions CSP in a nutshell Constraint Logic Programming (quickly)

Foundations of Constraint Processing CSP 101: continued4 Decomposition [Freuder & Hubbe, CP 93][Freuder & Hubbe, CP 93] Decomposition Conjunctive Disjunctive Conjunctive Disjunctive

Foundations of Constraint Processing CSP 101: continued5 Properties of decompositions Conjunctive or disjunctive? Consistent:No constraint is removed Simplifying: Size(P i ) < Size( P) Semi-complete: At least one solution is kept Complete:No solution is lost Redundant: Solutions replicated in { P i } Reducible:may be < Size( P)

Foundations of Constraint Processing CSP 101: continued6 Deep analysis Uncover particular properties, e.g. –bound the required level of consistency (islands of tractability) –predict ease/difficulty of solving a given instance Structure, topology of the constraint graph –tree, DAGs, chordal, bounded-width/induced width, k-trees, etc. Types, semantics of the constraints –linear inequalities, subsets of Allen's relations, functional, monotonic, row-convex, all-diffs, etc. Order parameter (phase transition)

Foundations of Constraint Processing CSP 101: continued7 Phase transition [Cheeseman et al. ‘91] [Cheeseman et al. ‘91] Cost of solving Mostly solvable problems Mostly un-solvable problems Order parameter Critical value of order parameter Significant increase of cost around critical value In CSPs, order parameter is constraint tightness & ratio Algorithms compared around phase transition

Foundations of Constraint Processing CSP 101: continued8 Distributed CSPs Mainly in search –Asynchronous BT (e.g., work of Yokoo) –Fine grain local search (ERA, by Liu) –Privacy of constraints More purist multi-agent approaches –Applications: scheduling & resource allocation –Based on decomposition of problem/solvers –Emerging area: Social Choice (Voting, auctions) –Let’s take a wider perspective than what is done today…

Foundations of Constraint Processing CSP 101: continued9 Multi-agent approach 1.Computational tasks: problem decomposed, replicated 2. Types of agent: broker, solver, problem, solver+problem 3. Architecture and authority: hierarchical, egalitarian, priority-based (e.g., vote) 4. Nature of communication: agent-to-agent, group, broadcast 5. Interaction strategies: cooperating vs. competing transparent vs. secretive negotiation + alliance/coalition formation

Foundations of Constraint Processing CSP 101: continued10 Computational tasks At one end of the spectrum, agents may be involved in solving heterogeneous, distinct and completely independent problems and request other agents to supply specific functionalities for the completion of the individual tasks. At the other end of the spectrum, the same problem could be replicated and assigned to all agents, which can then share their individual results with other agents incrementally in order to speed up the execution of the global computational task.

Foundations of Constraint Processing CSP 101: continued11 Types of agents An agent in the system can be any of the following: an agent that collects data from the environment and formulates the CSP a reasoning module with specific computational characteristics (e.g., various search algorithms) brokers that facilitate matching between a service seeker and a number of service providers (e.g., CORBA brokers).

Foundations of Constraint Processing CSP 101: continued12 Agent architecture.... and how authority is granted Agents could be organized in a strict hierarchy in which a given agent has full control over the activities of the agents that lie underneath it in the hierarchy. It decides how the lower level agents may cooperate while ensuring coordination with the higher-level agent. Agents could be in a strictly flat structure competing for services and rewards, either chaotically or according to some strict priority policy, for example, based on voting or time-responsiveness.

Foundations of Constraint Processing CSP 101: continued13 Communication environment Communications among agents may be conducted according to: a one-to-one schema multi-cast (i.e., one-to-group), or broadcast, where all agents in the environment have access to the content of the communicated information.

Foundations of Constraint Processing CSP 101: continued14 Type of supported interactions Agents may be cooperative, pooling their resources and capabilities to achieve a common, global objective, or they could be competitive trying to win rewards and optimize their individual gain. They could also adopt a midway strategy, dynamically forming coalitions and gathering support to acquire more resources and realize greater gains. Also, agents may be transparent about their intentions, resources, needs, and constraints or may be secretive, hiding one or the other of their strengths or weaknesses.

Foundations of Constraint Processing CSP 101: continued15 Outline Advanced solving techniques Issues & research directions CSP in a nutshell Constraint Logic Programming (quickly)

Foundations of Constraint Processing CSP 101: continued16 Research directions Preceding (i.e., search, backtrack, iterative repair, V/V/ordering, consistency checking, decomposition, symmetries & interchangeability, deep analysis) Evaluation of algorithms –worst-case analysis vs. empirical studies –random problems vs. real-world problems Cross-fertilization: –DB, SAT & theoretical computer science (TCS), mathematical programming, interval mathematics, logical inference, applications, etc. Modeling & Reformulation Extensions –Non-binary, conditional, soft constraints & preferences, etc Multi agents –Distribution and negotiation –decomposition & alliance formation

Foundations of Constraint Processing CSP 101: continued17 Outline Advanced solving techniques Issues & research directions CSP in a nutshell Constraint Logic Programming (quickly)

Foundations of Constraint Processing CSP 101: continued18 CSP in a nutshell (I) Definition: P = ( V, D, C ) Constraint graph, constraint network Finite domains Binary constraints, universal constraints Examples: map coloring, puzzles, resource allocation, temporal reasoning, product configuration, databases, spreadsheets, graphical layouts, graphical user-interfaces, bioinformatics, etc.

Foundations of Constraint Processing CSP 101: continued19 CSP in a nutshell (II) Solution technique: Search Enhancing search: constructive iterative repair Intelligent backtrack Variable/value ordering Constraint propagation Hybrid search Symmetries Decomposition

Foundations of Constraint Processing CSP 101: continued20 CSP in a nutshell (III) Deep analysis: exploit problem structure Other directions Tractability studies Graph topology Constraint semantics Phase transition -k-ary constraints (representation, efficient propagators) - continuous vs. finite domains - evaluation of algorithms (theoretical vs empirical) - cross-fertilization (mathematical program.) - preferences and soft constraints reformulation and approximation architectures (multi-agent, negotiation)

Foundations of Constraint Processing CSP 101: continued21 Outline Advanced solving techniques Issues & research directions CSP in a nutshell Constraint Logic Programming (quickly)

Foundations of Constraint Processing CSP 101: continued22 Constraint Logic Programming (CLP) A merger of  Constraint solving  Logic Programming, mostly Horn clauses e.g., Prolog) Building blocks Constraint: primitives but also user-defined –cumulative/capacity (linear ineq), MUTEX, cycle, etc. –domain: Booleans, natural/rational/real numbers, finite Rules (declarative): a statement is a conjunction of constraints and is tested for satisfiability before execution proceeds further Mechanisms: satisfiability, entailment, delaying constraints