For getting out of Ohio State Applications of Graph and Scheduling Theory for getting out of Ohio State Eugene Talagrand Mauktik Gandhi Jeff Mathew.

Slides:



Advertisements
Similar presentations
Analysis of Algorithms
Advertisements

Approximation Algorithms
Chapter 3: Planning and Scheduling Lesson Plan
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
The Theory of NP-Completeness
CPE702 Complexity Classes Pruet Boonma Department of Computer Engineering Chiang Mai University Based on Material by Jenny Walter.
Movie theatre service on brightness and volume range leading to maximum clique graph By, Usha Kavirayani.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
Planning under Uncertainty
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.
Chapter 9: Greedy Algorithms The Design and Analysis of Algorithms.
Approximation Algorithms
The Theory of NP-Completeness
Ch 13 – Backtracking + Branch-and-Bound
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Ref: Pfleeger96, Ch.31 NP-Complete Problems Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, 1996.
The Shortest Path Problem
Part I: Introductory Materials Introduction to Graph Theory Dr. Nagiza F. Samatova Department of Computer Science North Carolina State University and Computer.
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
MCS312: NP-completeness and Approximation Algorithms
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:
CSCE350 Algorithms and Data Structure
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
Scott Perryman Jordan Williams.  NP-completeness is a class of unsolved decision problems in Computer Science.  A decision problem is a YES or NO answer.
Presented by Dajiang Zhu 09/20/2011.  Motivation  Introduction & Conclusion  Pre – Definition Approximation Algorithms  Two problems as examples SUBSET-SUM.
Advanced Algorithm Design and Analysis (Lecture 13) SW5 fall 2004 Simonas Šaltenis E1-215b
Great Theoretical Ideas in Computer Science.
RESOURCES, TRADE-OFFS, AND LIMITATIONS Group 5 8/27/2014.
Curriculum Optimization Project CURRICULUM REFORM MEETING California State University, Los Angeles Kevin Byrnes Dept. of Applied Math Johns Hopkins University.
Design and Analysis of Algorithms - Chapter 111 How to tackle those difficult problems... There are two principal approaches to tackling NP-hard problems.
TECH Computer Science NP-Complete Problems Problems  Abstract Problems  Decision Problem, Optimal value, Optimal solution  Encodings  //Data Structure.
Approximation Algorithms
CSC 413/513: Intro to Algorithms NP Completeness.
DP TSP Have some numbering of the vertices We will think of all our tours as beginning and ending at 1 C(S, j) = length of shortest path visiting each.
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.
1 Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Week 13 - Monday.  What did we talk about last time?  B-trees  Hamiltonian tour  Traveling Salesman Problem.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Algorithm Design Methods 황승원 Fall 2011 CSE, POSTECH.
Computability NP complete problems. Space complexity. Homework: [Post proposal]. Find PSPACE- Complete problems. Work on presentations.
NP-Completness Turing Machine. Hard problems There are many many important problems for which no polynomial algorithms is known. We show that a polynomial-time.
CSCE350 Algorithms and Data Structure Lecture 21 Jianjun Hu Department of Computer Science and Engineering University of South Carolina
NPC.
1 P and NP. 2 Introduction The Traveling Salesperson problem and thousands of other problems are equally hard in the sense that if we had an efficient.
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.
Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik.
Conceptual Foundations © 2008 Pearson Education Australia Lecture slides for this course are based on teaching materials provided/referred by: (1) Statistics.
The NP class. NP-completeness
Priority Queues An abstract data type (ADT) Similar to a queue
Algorithm Design Methods
Greedy Algorithms / Interval Scheduling Yin Tat Lee
Dissertation for the degree of Philosophiae Doctor (PhD)
Analysis and design of algorithm
Integer Programming (정수계획법)
CLASSES P AND NP.
Chapter 11 Limitations of Algorithm Power
Priority Queues An abstract data type (ADT) Similar to a queue
Integer Programming (정수계획법)
Algorithm Design Methods
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
Algorithm Design Methods
Major Design Strategies
Chapter 3: Planning and Scheduling Lesson Plan
Approximation Algorithms
Algorithms CSCI 235, Spring 2019 Lecture 36 P vs
Algorithm Design Methods
Presentation transcript:

for getting out of Ohio State Applications of Graph and Scheduling Theory for getting out of Ohio State Eugene Talagrand Mauktik Gandhi Jeff Mathew

The Problem  Design and implement algorithms to solve scheduling problems with prerequisites.  Schedule a certain amount of events in as short of a time as possible, while considering the fact that some events must occur before others, some events cannot occur at the same time due to conflicts, and that at any given time there is a bounded number of events that can be happening simultaneously

The Motivation  This is a hard problem – Hard in the theoretical sense Brute force approach  O (life time of the universe 2 )  operations  A different class of projects Non conventional  Very long and complex project

The Applications  This isn’t just a toy problem Similar problems are encountered in industry, for example building an airplane  The plane cannot be painted before it is built

Existing work in the field  The Crew Scheduling problem, studied in Operations Research, is similar to this one. It can be solved using Binary Programming and the Simplex Method. It is NP-Complete.  Different data structures will only serve to reduce the complexity of a problem marginally.

The Goals  Develop intelligent heuristics to find polynomial-time approximations for this problem  Develop progressive solutions, meaning that given more time, the optimality of the solution improves accordingly

The Approach  We took a three-step approach to solving this problem Develop an efficient data structure  Must model every behavior Develop polynomial-time deterministic algorithms to reduce the size of the problem set  Reduction was chosen over construction to make use of these algorithms Develop polynomial time heuristic algorithms to get closer to the optimal solution

The Data Structures  A first attempt was made to work directly on graphs.  Refined into a ‘tape’ model. Bins represent quarters. Each bin initially contains all courses offered that quarter Bins are reduced based on prerequisites and conflicts  How to resolve conflicts?

The Prerequisite Graph  A prerequisite graph needs to be built  Longest-path algorithms (NP-Complete) need to be as fast as possible – constant time!  Implementation akin to adjacency matrices, but every cell contains the directed longest path between two courses. Negative dependencies are also indexed (222 has a negative dependency on 321)

The Branch-and-Bound Algorithms  Conflict resolution gets easier as more courses are scheduled. How to start? (Edge effect) Pack the bins from the left Pack the bins from the right – least amount of time through college can be minimum bounded Heuristics will help later on  When a conflict is resolved, cascade the result

The Core Dilemma  Many more deterministic algorithms have been considered For many, we hit the core dilemma – the fragile balance between prerequisites and scheduling conflicts Long-term effects of scheduling

The Initial Heuristics  For each course in a bin, assign a priority equal to the sum of the lengths of the longest paths to outgoing classes  Pick the subset of courses within the credit- hour limit that maximizes the sum of priorities This is the subset-sum problem – another NP- Complete problem! Fortunately, there already exists a polynomial time approximation  Approximate the approximation  Optimizations like aging effects to prevent ‘starvation’ can be applied as well

The Future  Develop a more formal model for the problem, allowing for more algebraic solutions  Explore scheduling bottlenecks, and work towards them (such as tilting the heuristics towards them). These might be detected through adjacency matrix eigenvalues  Exploit graph cut sets, to localize the effects of the heuristics