ANTs PI meeting, Dec. 17, 2001Washington University / DCMP1 Flexible Methods for Multi-agent Distributed Resource Allocation by Exploiting Phase Transitions.

Slides:



Advertisements
Similar presentations
NP-Hard Nattee Niparnan.
Advertisements

Time Complexity P vs NP.
The Theory of NP-Completeness
Lecture 1: Introduction to the Course of Optimization 主講人 : 虞台文.
Computational problems, algorithms, runtime, hardness
CPSC 322, Lecture 13Slide 1 CSPs: Arc Consistency & Domain Splitting Computer Science cpsc322, Lecture 13 (Textbook Chpt 4.5,4.6) February, 01, 2010.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
CPSC 322, Lecture 13Slide 1 CSPs: Arc Consistency & Domain Splitting Computer Science cpsc322, Lecture 13 (Textbook Chpt 4.5,4.8) February, 02, 2009.
Energy-Efficient Target Coverage in Wireless Sensor Networks Mihaela Cardei, My T. Thai, YingshuLi, WeiliWu Annual Joint Conference of the IEEE Computer.
Impact of Structure on Complexity Carla Gomes Bart Selman Cornell University Intelligent Information Systems.
The Theory of NP-Completeness
Analysis of Algorithms CS 477/677
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Wireless Distributed Sensor Tracking: Computation and Communication Bart Selman, Carla Gomes, Scott Kirkpatrick, Ramon Bejar, Bhaskar Krishnamachari, Johannes.
A New Algorithm for Optimal 2-Constraint Satisfaction and Its Implications Ryan Williams Computer Science Department, Carnegie Mellon University Presented.
Achieving Minimum Coverage Breach under Bandwidth Constraints in Wireless Sensor Networks Maggie X. Cheng, Lu Ruan and Weili Wu Dept. of Comput. Sci, Missouri.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Chapter 11: Limitations of Algorithmic Power
Multirobot Coordination in USAR Katia Sycara The Robotics Institute
BNAIC, Oct, Temporal Plans and Resource Management Pieter Buzing & Cees Witteveen TU Delft.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
A Multi-Agent Learning Approach to Online Distributed Resource Allocation Chongjie Zhang Victor Lesser Prashant Shenoy Computer Science Department University.
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
Controlling Computational Cost: Structure and Phase Transition Carla Gomes, Scott Kirkpatrick, Bart Selman, Ramon Bejar, Bhaskar Krishnamachari Intelligent.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Slide 1 CSPs: Arc Consistency & Domain Splitting Jim Little UBC CS 322 – Search 7 October 1, 2014 Textbook §
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
ANTs PI meeting, May 29-31, 2002Washington University / DCMP1 Flexible Methods for Multi-agent Distributed Resource Allocation by Exploiting Phase Transitions.
Building “ Problem Solving Engines ” for Combinatorial Optimization Toshi Ibaraki Kwansei Gakuin University (+ M. Yagiura, K. Nonobe and students, Kyoto.
When In-Network Processing Meets Time: Complexity and Effects of Joint Optimization in Wireless Sensor Networks Department of Computer Science, Wayne State.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
TECH Computer Science NP-Complete Problems Problems  Abstract Problems  Decision Problem, Optimal value, Optimal solution  Encodings  //Data Structure.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
UBC March The Evergreen Project: How To Learn From Mistakes Caused by Blurry Vision in MAX-CSP Solving Karl J. Lieberherr Northeastern University.
Goal Programming Linear program has multiple objectives, often conflicting in nature Target values or goals can be set for each objective identified Not.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
UBC March The Evergreen Project: How To Learn From Mistakes Caused by Blurry Vision in MAX-CSP Solving Karl J. Lieberherr Northeastern University.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
CS 484 Designing Parallel Algorithms Designing a parallel algorithm is not easy. There is no recipe or magical ingredient Except creativity We can benefit.
Valued Constraints Islands of Tractability. Agenda The soft constraint formalism (5 minutes) Valued Constraint Languages (5 minutes) Hard and Easy Languages.
Chapter 5 Constraint Satisfaction Problems
NP-Complete Problems Algorithm : Design & Analysis [23]
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Costas Busch - LSU1 Time Complexity. Costas Busch - LSU2 Consider a deterministic Turing Machine which decides a language.
Coverage and Scheduling in Wireless Sensor Networks Yong Hwan Kim Korea University of Technology and Education Laboratory of Intelligent.
Negotiation & Challenge Problem meet Complexity & Dynamics Purview: interaction between dynamics & complexity teams and challenge problem teams –Can CP.
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Tommy Messelis * Stefaan Haspeslagh Burak Bilgin Patrick De Causmaecker Greet Vanden Berghe *
Prof. Busch - LSU1 Time Complexity. Prof. Busch - LSU2 Consider a deterministic Turing Machine which decides a language.
1 The Theory of NP-Completeness 2 Review: Finding lower bound by problem transformation Problem X reduces to problem Y (X  Y ) iff X can be solved by.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Construction We constructed the following graph: This graph has several nice properties: Diameter Two Graph Pebbling Tim Lewis 1, Dan Simpson 1, Sam Taggart.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
The NP class. NP-completeness
Time Complexity Costas Busch - LSU.
Aaron Gember-Jacobson
ME 521 Computer Aided Design 15-Optimization
Chapter 11 Limitations of Algorithm Power
Presentation transcript:

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP1 Flexible Methods for Multi-agent Distributed Resource Allocation by Exploiting Phase Transitions Modeling and Analyzing Resource Allocation Problems Using Soft Constraint Satisfaction and Optimization Weixiong Zhang (PI) Kenneth Swanson, Xiaotao Zhang, Peng Wang, Michael P. Moran, Guandong Wang, Zhao Xing, Zhongshen Guo Computational Intelligence Center and Computer Science Department Washington University in St. Louis

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP2 Objectives and Approaches Understanding and characterizing resource allocation problems in ANTs applications. –Modeling methods: soft constraint satisfaction/optimization –Phase transitions and backbones (sources of complexity) –Scalability (e.g. impact of problem structures) Developing general and efficient algorithms for resource allocations –Systematic search methods –Approximation methods –Distributed algorithms –Phase-aware problem solving for good enough/sooner enough solutions

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP3 Work in this period EW challenge problem –Design and develop a moving target tracking system in RadSim –Preliminary working system –Testbed for studying many technical difficulties –(more to come at next PI meeting) Marbles pilot scheduling problems –(main focus of this presentation)

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP4 Current Work on EW Challenge Problem Technical issues under consideration –Scalability how problem structures and agent organization affect complexity –Uncertainty in resource conflict resolution: uncertainty in measurement, communication error, etc. –Scan scheduling for detecting new targets quickly with small amount of energy –Irregular sensor layout We have shown that triangle topology provides the best area coverage What if sensor layout is out of your control – how to quickly form teams

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP5 Marbles Scheduling Problem Main focus of this period Some results

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP6 The Marbles Problem Resource allocation in a task scheduling problem –Schedule as many tasks as possible (to reduce the overall penalty of unscheduled tasks) –Block resource requirement Each task requires a set of resources It cannot be schedule unless all resource requirements are fulfilled –Exclusive resource contention A shared resource may be applicable to multiple requirements But it can be used to fulfill only one requirement R1R1 R2R2 R3R3 T1T1 Q 1,1 011 Q 1,2 100 T2T2 Q 2,1 110 Q 2,2 110 Resource requirements Resources Tasks

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP7 The Problem is Difficult The problem is NP-hard –The decision version is NP-complete –Reduced from set packing (NP-complete) Set packing: –Given a collection S of finite sets of elements, a positive integer K –Decide: if S contains at least K mutually disjoint subsets Reduction: –Map an elements to a resource –Map a subset to a task

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP8 Technical Content Hard and soft constraints Modeling consideration and choices Constraint models –Models in optimization –Models in satisfaction Experimental analysis (phase transitions) Current and future work

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP9 Hard and Soft Constraints Task constraints (soft constraints) –C task: turning on tasks (typically, not all of them can be satisfied at once) Constraint (T i = 1) to represent turning on task T i Weight equal to 1 or its penalty Block resource requirements (hard constraints) –C req: Fulfilling resource requirement of a task if it is on –Weight is more than the total weight of soft constraints Exclusive resource contention (hard constraints) –C res: A resource can only be used by one requirement –Weight is more than the total weight of soft constraints

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP10 Main Modeling Considerations Optimization vs. decision –Optimization: try to turn on all tasks, and then find the maximal number of tasks that can be indeed turned on –Decision: Guess the possible number of tasks that can be turned on, and then verify it. Do a binary search on the number of tasks. (caution: it may not work if tasks are weighted and it is to minimize the overall weight of unscheduled tasks.) General variables versus Boolean variables –CSP/COP (Constraint Optimization Problem) versus SAT/MAX-SAT –K-encoding issue Which choice to take and under what conditions? OptimizationDecision General variablesA COP modelA set of CSP models Boolean variablesA MAX-SAT modelA set of SAT models

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP11 Main Modeling Choices Variable versus values –Resources as variables and requirements as values –Or vice versa –Which one to use? R1R1 R2R2 R3R3 T1T1 Q 1,1 011 Q 1,2 100 T2T2 Q 2,1 110 Q 2,2 110 Resource requirements Resources Tasks

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP12 Main Modeling Choices Expressiveness of a model E.g. Two resources may be assigned to one requirement (but one is used) Should hidden constraints be made explicit? Interaction between modeling considerations and choices and search algorithms

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP13 COP/CSP Models OptimizationDecision COP1 (requirements as variables) CSP1 (requirements as variables) COP2 (resources as variables) CSP2 (resources as variables) COP3 (resources as variables, more explicit than COP2) CSP3 (resources as variables, more explicit than CSP2) MAX-SAT4SAT4 MAX-SAT5 (more explicit than MAX SAT4) SAT5 (more explicit than SAT4) OptimizationDecision General variablesA COP modelA set of CSP models Boolean variablesA MAX-SAT modelA set of SAT models Original ISI Marbles model

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP14 COP2 Model: Resources as Variables t: # of tasks q i : # of resource requirements of task i r: # of resources T i : Boolean variable for task i R k = { Q ij | task i, requirement j } C task = ^ k=1..t (T i = 1) C block = ^ k=1..t C block (T i ) C block (T i )= ^ j=1..q i ((T i =0) V k=1..r (R k =Q ij )) R1R1 R2R2 R3R3 T1T1 Q 1,1 011 Q 1,2 100 T2T2 Q 2,1 110 Q 2,2 110 C task = (T 1 = 1) ^ (T 2 = 1) (T 1 =0) V (R 2 =Q 11 ) V (R 3 =Q 11 ) C block = (T 1 =0) V (R 1 =Q 12 ) (T 2 =0) V (R 1 =Q 21 ) V (R 2 =Q 11 ) (T 2 =0) V (R 1 =Q 22 ) V (R 2 =Q 22 )

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP15 COP3 Model: More Explicit than COP2 t: # of tasks q i : # of resource requirements of task i r: # of resources T i : Boolean variable for task i R k = { Q ij | task i, requirement j} C task = ^ k=1..t (T i = 1) C block = ^ k=1..t C block (T i ) ^ k=1..t C' block (T i ) C block (T i )= ^ j=1..q i ((T i =0) V k=1..r (R k =Q ij )) C' block (T i ) = ^ ((R u ≠ Q ij ) V (R v ≠ Q ij )) R1R1 R2R2 R3R3 T1T1 Q 1,1 011 Q 1,2 100 T2T2 Q 2,1 110 Q 2,2 110 C task = (T 1 = 1) ^ (T 2 = 1) (T 1 =0) V (R 2 =Q 11 ) V (R 3 =Q 11 ) C block = (T 1 =0) V (R 1 =Q 12 ) (T 2 =0) V (R 1 =Q 21 ) V (R 2 =Q 11 ) (T 2 =0) V (R 1 =Q 22 ) V (R 2 =Q 22 ) (R 2 ≠ Q 11 ) V (R 3 ≠ Q 11 ) C' block = (R 1 ≠ Q 21 ) V (R 2 ≠ Q 21 ) (R 1 ≠ Q 22 ) V (R 3 ≠ Q 22 )

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP16 Phase Transitions Marbles problems (8 tasks with 2 requirements each)

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP17 Phase Transitions (2) Marbles problems (8 tasks with 2 requirements each)

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP18 Experimental Results: Systematic search and local search OptimizationDecision COP1 (requirements as variables) CSP1 (requirements as variables) COP2 (resources as variables) CSP2 (resources as variables) COP3 (resources as variables, more explicit than COP2) CSP3 (resources as variables, more explicit than CSP2) MAX-SAT4SAT4 MAX-SAT5 (more explicit than MAX SAT4) SAT5 (more explicit than SAT4) OptimizationDecision General variablesA COP modelA set of CSP models Boolean variablesA MAX-SAT modelA set of SAT models

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP19 Experimental Results : Complete Algorithm MAX SAT Models

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP20 Experimental Results : Complete Algorithm SAT Models

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP21 Experimental Analysis : Complete Algorithm Summary OptimizationDecision Model 43 MAX SAT4 2 SAT4 Model 54 MAX SAT5 1 SAT5

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP22 Experimental Analysis : Local Search Experiment setup –A WalkSAT-like algorithm for all models –Given all models the same total amount of CPU time (adjusted by the numbers of moves and restarts –Measure the final solution quality –CPU time the best solution found the first time Results –Optimization models are better than decision models –COP1 is the best –COP2 is better than COP3 OptimizationDecision COP1 (requirements as variables) CSP1 (requirements as variables) COP2 (resources as variables) CSP2 (resources as variables) COP3 (resources as variables, more explicit than COP2) CSP3 (resources as variables, more explicit than CSP2) MAX-SAT4SAT4 MAX-SAT5 (more explicit than MAX SAT4) SAT5 (more explicit than SAT4)

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP23 Summary Marbles problems are indeed difficult There are phase transition phenomena in Marbles problems Modeling and search algorithms affect each other Good modeling methods can greatly reduce problem-solving time

ANTs PI meeting, Dec. 17, 2001Washington University / DCMP24 Next Steps Marbles scheduling problem –More accurate results on phase transitions –More efficient search algorithms –Large problems –Timed Marbles problems for a long period, e.g., days,weeks and months EW challenge problem –Scalability –Uncertainty –Scan scheduling (larger coverage, less energy) –Irregular layout