# JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS. Received December May 12, 2003; revised February 5, 2004

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Scientiae Mathematicae Japonicae Online, Vol. 10, (2004), JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS Ondřej Čepeka and Shao Chin Sung b Received December May 12, 2003; revised February 5, 2004 Abstract. In this paper we study a problem with periodic time slots in which a processing time and periodically repeating due dates are given for each job, where the period is the same for all jobs. The objective is to minimize the number of periodic time slots in which all jobs can be scheduled just-in-time. We show that when setup times between jobs are considered, the problem becomes unary NP-hard even in the single machine case. When set-up times are not considered, we study several subproblems which arise by putting additional restriction on processing times. We show that under a rather strict (although natural) restriction the problem is solvable in polynomial time for an arbitrary number of identical parallel machines, and we present a simple polynomial time algorithm solving the problem. We also show, that when the restriction on processing times is lifted, the problem without set-up times becomes binary NP-hard already for two machines and unary NP-hard when the number of machines is a part of the input. 1 Introduction In this paper we study a problem with periodic time slots, in which a processing time and periodically repeating due dates are assigned to each job, where the period (i.e., the time difference between consecutive due dates) is the same for all jobs. The objective is to minimize the number of periodic time slots which are sufficient for scheduling all given jobs just-in-time (i.e. each job is completed exactly on one of its due dates). This problem is motivated by manufacturing environments with a periodic production cycle (day, week), where a due date of a job corresponds to a periodically repeating event (e.g. arrival of a truck which picks up the production). The problem was first studied by Hiraishi [2] in the environment of identical parallel machines. The following two additional assumptions were considered: a nonnegative set-up time is given for every (ordered) pair of jobs, which means that when two jobs are scheduled consecutively, an idle time of (at least) the given length must be scheduled in-between them, and for each job, its processing time is less than or equal to its (first) due date, which implies that every job is scheduled within a single time slot (cannot span over several neighboring slots) In [2] a heuristic algorithm for finding a good schedule was proposed. In this note we shall study this problem further (under the same assumptions), and we shall show that the presence of set-up times makes the problem unary NP-hard even in the case of a single machine, unit processing times, and only two different lengths of set-up times. Clearly, two is the smallest possible number of lengths to consider, because when all set-up times are the same, they can be simply added to processing times, which constructs an equivalent 2000 Mathematics Subject Classification. 90B35, 90C27. Key words and phrases. just-in-time scheduling, polynomial time algorithm, NP-hardness. This work was supported by the Czech Science Foundation (grant 201/04/1102) Corresponding author. Tel: (O. Čepek)

2 432 ONDŘEJ ČEPEK AND SHAO CHIN SUNG problem without set-up times. Thus, in order to establish polynomially solvable cases of the problem, it is natural to concentrate on the setting with no set-up times (or equivalently with all set-up times equal to zero). Next we shall show, that when set-up times are removed from the problem studied in [2] (and the restriction on processing times is kept in place), the problem becomes solvable in polynomial time. We present a simple O(n 2 ) greedy algorithm solving this restricted problem for an arbitrary number of machines, where n is the number of jobs. Finally, we shall lift the restriction on the processing times (and keep all set-up times zero) and prove, that in such a case the problem becomes binary NP-hard already for two machines, and unary NP-hard when the number of machines is not fixed (i.e., when the number of machines is a part of the input). 2 Problem formulation There are m parallel identical machines M 1,M 2,...,M m and n jobs J 1,J 2,...,J n with processing times p 1,p 2,...,p n. The operation time on all machines is divided into slots of length L, and each job is assigned a set of periodically repeating due dates, one per each time slot, namely job J j has due dates d j,l+ d j, 2L + d j,... where 0 <d j L. Moreover, for each pair of jobs J k,j l, where k l, a set-up time 0 t kl L is considered, which means that if J k and J l are scheduled on some machine M i in the order that J l is started after J k is completed, then the time difference between the completion of J k and the start of J l must be at least t kl. The problem is to find a feasible nonpreemptive schedule in which each job is completed exactly on one of its due dates, and which minimizes the number of time slots required for all jobs to be processed. The feasibility of schedules and the objective function can be described formally as follows. A schedule is a mapping which assigns to every job J j an ordered pair (M [j],c j ), where M [j] is a machine on which job J j is processed, and C j is its completion time, i.e. J j is processed on M [j] in the time interval [C j p j,c j ). A schedule is called feasible if for every pair of jobs J k,j l, where k l, ifm [k] = M [l] (both jobs are assigned to the same machine), then (1) either C k C l + t lk + p k or C l C k + t kl + p l, for each job J j there exists a nonnegative integer r j such that C j = r j L + d j (i.e. each job is completed exactly on one of its due dates). Let us denote R = max{r 1,r 2,...,r n }. Then the objective of the problem is to minimize R over the set of all feasible schedules. An additional constraint on the input data was considered in [2]. It was assumed that p j d j holds for every job J j. This means that if a job is scheduled just-in-time, it completely fits within a single time slot. This constraint is a very natural one in practice. We shall also assume its validity in the next two sections. In [2], a heuristic algorithm for finding a good schedule with respect to the minimization of the value of R was presented. In the next section we shall show, that in fact this problem is unary NP-hard even for the single machine case (i.e. for m = 1), where moreover all jobs are assumed to have the same length. 3 Unary NP-Hardness for m = 1 with set-up times and unit time jobs In order to prove the above mentioned intractability result, we shall use for the reduction the wellknown unary (strongly) NP-complete Hamiltonian path problem (see e.g. [1]), which is defined as follows.

3 JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS 433 Hamiltonian Path (HP) Instance: An undirected graph G =(V,E), where V = {v 1,...,v n }. Question: Is there a Hamiltonian path in G, i.e. does there exist a permutation of vertices v [1],...v [n] such that (v [i],v [i+1] ) E for every 1 i n 1? Now we shall construct an instance of a decision version of our just-in-time scheduling problem, so that this instance has a solution if and only if the input instance of the Hamiltonian path problem has a solution. Just-in-time Scheduling with Set-up Time (JSST) Instance: m =1,L =2,J 1,...,J n (identify jobs with vertices of the input graph), p j = d j = 2 for all 1 j n, and { t ij = 0 if (i, j) E, 1 otherwise. Question: Is there a feasible schedule which occupies at most n time slots, i.e. such that R n? Lemma 1 The input HP instance has a solution if and only if the constructed JSST instance has a solution. Proof. If HP has a solution, then we easily construct a solution of JSST by scheduling the jobs in the order given by the Hamiltonian path. All set-up times between consecutive jobs are in such a case zero, and so the constructed schedule fits into exactly n time slots. On the other hand if JSST has a solution (in such a case exactly n time slots are occupied as it is impossible to schedule n unit time jobs in less than n unit time slots) then the sequence in which jobs are scheduled gives a Hamiltonian path, since all set-up times between consecutive jobs must be in such a case zero, and so this order indeed gives a path in the input graph. Since the above reduction is clearly polynomial, and all processing times, due dates, and set-up times are nonnegative integers bounded by a constant (namely two), we obtain the following theorem. Theorem 1 JSST is unary NP-hard. Notice that JSST remains unary NP-hard even if the feasibility constraint (1) is required only for pairs of jobs which are scheduled consecutively. This fact follows from the easy observation that the feasibility constraint is fulfilled automatically for all other (nonconsecutively scheduled) pairs of jobs in the above presented reduction (the length of every job is larger then the length of any set-up time). 4 Polynomiality for arbitrary m under p j d j constraint In the following we shall consider the case when all set-up times are zero, and hence do not in any way influence the feasibility of schedules. In the absence of set-up times the p j d j constraint, i.e. the constraint that in every feasible schedule no job spans over more than one time slot, causes that the schedule in each individual time slot on each individual machine constitutes a block which can be moved around freely in the schedule (both by permuting blocks on one machine and by moving blocks from one machine to another) without spoiling the feasibility of the resulting schedule.

4 434 ONDŘEJ ČEPEK AND SHAO CHIN SUNG This observation leads to the following idea. Rather than solving the original problem of minimizing the number of used time slots on a fixed number of machines, we shall solve an equivalent problem of scheduling all jobs in a single time slot on a minimum number of machines. The correspondence between these two problems is obvious. Given a one-slot schedule on a minimum possible number, say q, of machines, one can easily construct a schedule on a fixed number m of machines that occupies q/m time slots, and this is the best possible value. So by solving the new minimization problem (minimizing the number of machines with one slot) we also solve the original one (minimizing the number of used time slots on a fixed number of machines). The new problem can be solved by the following greedy algorithm. Algorithm MinNM: Phase 1. Sort jobs increasingly by s i = d i p i and renumber them accordingly, i.e., after renumbering we have s 1 s 2... s n. Phase 2. Take jobs one by one from the sorted sequence and when processing job J j find the first available machine M i, i.e. a machine with the smallest index such that no job (from the set of previously scheduled ones) is processed on it at time s j, and schedule J j on M i in the time interval [s j,d j ). Obviously, placing each job takes time bounded by the number of machines used up until that moment, and moreover the total number q of all machines used up by the algorithm clearly fulfills q n. Thus, we have the following proposition. Proposition 1 Algorithm MaxNM runs in O(n 2 ) time. Notice that the running time of algorithm MinNM does not depend on the number of machines m in the original problem which minimizes number of time slots. The correctness of the algorithm is given by the following theorem. Theorem 2 Algorithm MinNM produces an optimal schedule, i.e. a schedule on a minimum possible number of machines. Proof. Let q be the number of machines used by the algorithm, and let job J j be the first one to be scheduled on machine M q. Since MinNM puts J j on M q, it means that every machine M 1,...,M q 1 processes some job in the time interval [s j,s j + ε) for some suitably small ε>0. However, this set of q 1 jobs together with job J j force every feasible schedule to use at least q machines because no pair of jobs from this set can be scheduled on the same machine. In the last two sections we shall relax the p j d j constraint and consider arbitrarily long processing times. 5 Binary NP-hardness for m =2and arbitrary p j s In this section we shall show that relaxing the p j d j constraint causes the problem to become binary NP-hard already in the two machine case. For the reduction, we shall use the well-known binary NP-complete PARTITION problem (see e.g. [1]), which is defined as follows.

5 JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS 435 PARTITION Instance: n positive integers a 1,a 2,...,a n. Question: Is there a subset S of the index set I = {1, 2,...,n} such that a i = a i? i S i I\S Now we shall construct an instance of a decision version of the currently considered just-in-time scheduling problem on two machines, so that this instance has a solution if and only if the input instance of the PARTITION problem has a solution. Just-in-time Scheduling on Two Machines (JS2M) Instance: m =2,L =1,J 1,...,J n (identify jobs with the input numbers a i ), p j = a i, d j = 1 for all 1 j n. Question: Is there a feasible schedule which occupies at most T = 1 2 i I a i time slots, i.e. such that R T? Lemma 2 The input PARTITION instance has a solution if and only if the constructed JS2M instance has a solution. Proof. If PARTITION has a solution, then we easily construct a solution of JS2M by scheduling the jobs selected into the subset S on the first machine and the remaining jobs on the second machine. The number of slots used on each machine will be exactly T, and all jobs will be scheduled just-in-time, because every end of a slot is a due date for every job, and the lengths of jobs are integral. On the other hand if JS2M has a solution, then exactly T time slots are occupied on each of the two machines and so the subset of jobs scheduled on any of the two machines constitutes a solution to the input PARTITION problem. Since the above reduction is clearly polynomial, i.e. the number of bits needed to encode the constructed instance of JS2M is bounded by a polynomial in the number of bits needed to encode the input instance of PARTITION, we get the following theorem. Theorem 3 JS2M is binary NP-hard. In the last section of this paper we shall strengthen the NP-hardness result to unary coding. In order to obtain this result we shall sacrifice the fixed number of machines, i.e we shall assume that the number of machines is a part of the input. 6 Unary NP-hardness for input m and arbitrary p j s In this section we shall mimic the proof for the binary NP-hardness using the well-known unary NP-complete 3- PARTITION problem (see e.g. [1]), which is defined as follows.

6 436 ONDŘEJ ČEPEK AND SHAO CHIN SUNG 3-PARTITION Instance: 3m + 1 positive integers b and a 1,a 2,...,a 3m, such that b 4 <a i < b 2 for every 1 i 3m, and 3m a i = mb. i=1 Question: Can the set I = {1, 2,...,n} be partitioned into m disjoint sets S 1,S 2,...,S m such that a i = b for all 1 i m? i S i Now we shall construct an instance of a decision version of the considered just-in-time scheduling problem on m machines (where m is the input value from the instance of 3- PARTITION), so that this instance has a solution if and only if the input instance of the 3-PARTITION problem has a solution. Just-in-time Scheduling on m Machines (JSmM) Instance: L =1,J 1,...,J 3m (identify jobs with the input numbers a i ), p j = a i, and d j = 1 for all 1 j 3m. Question: Is there a feasible schedule which occupies at most b time slots, i.e. such that R b? Lemma 3 The input 3-PARTITION instance has a solution if and only if the constructed JSmM instance has a solution. Proof. If 3-PARTITION has a solution, then we easily construct a solution of JSmM by scheduling the jobs selected into the subset S i on the machine M i for every 1 i m. The number of slots used on each machine will be exactly b, and all jobs will be scheduled just-in-time, because every end of a slot is a due date for every job, and the lengths of jobs are integral. On the other hand if JSmM has a solution, then exactly b time slots are occupied on each machine and so the subset of jobs scheduled machine M i gives the set S i for every 1 i m, which constitutes a solution to the input 3-PARTITION problem. As in the previous case, the above reduction is polynomial, i.e. the number of bits needed to encode the constructed instance of JSmM is bounded by a polynomial in the number of bits needed to encode the input instance of 3-PARTITION. Hence we get the following theorem. Theorem 4 JSmM is unary NP-hard. References [1] Garey MR, Johnson DS. Computers and Intractability: A Guide to the Theory of NP- Completeness. W.H. Freeman and Company, San Francisco, [2] Hiraishi K. Just-In-Time Scheduling of Parallel Identical Machines with Multiple Time Slots. Proceedings of the 4th Czech-Japan Seminar on Data Analysis and Decision Making under Uncertainty, Jindrichuv Hradec, September 2001.

7 JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS 437 a Department of Theoretical Informatics and Mathematical Logic, Charles University, Malostranské nám. 25, Praha 1, Czech Republic (also teaching at the Institute of Finance and Administration - VŠFS) b School of Information Science, Japan Advanced Institute of Science and Technology 1-1 Asahidai, Tatsunokuchi, Ishikawa, , Japan

### 2.3 Scheduling jobs on identical parallel machines

2.3 Scheduling jobs on identical parallel machines There are jobs to be processed, and there are identical machines (running in parallel) to which each job may be assigned Each job = 1,,, must be processed

### Classification - Examples

Lecture 2 Scheduling 1 Classification - Examples 1 r j C max given: n jobs with processing times p 1,...,p n and release dates r 1,...,r n jobs have to be scheduled without preemption on one machine taking

### Single machine parallel batch scheduling with unbounded capacity

Workshop on Combinatorics and Graph Theory 21th, April, 2006 Nankai University Single machine parallel batch scheduling with unbounded capacity Yuan Jinjiang Department of mathematics, Zhengzhou University

### Classification - Examples -1- 1 r j C max given: n jobs with processing times p 1,..., p n and release dates

Lecture 2 Scheduling 1 Classification - Examples -1-1 r j C max given: n jobs with processing times p 1,..., p n and release dates r 1,..., r n jobs have to be scheduled without preemption on one machine

### NP-complete? NP-hard? Some Foundations of Complexity. Prof. Sven Hartmann Clausthal University of Technology Department of Informatics

NP-complete? NP-hard? Some Foundations of Complexity Prof. Sven Hartmann Clausthal University of Technology Department of Informatics Tractability of Problems Some problems are undecidable: no computer

### Scheduling Shop Scheduling. Tim Nieberg

Scheduling Shop Scheduling Tim Nieberg Shop models: General Introduction Remark: Consider non preemptive problems with regular objectives Notation Shop Problems: m machines, n jobs 1,..., n operations

### Finding the Shortest Move-Sequence in the Graph-Generalized 15-Puzzle is NP-Hard

Finding the Shortest Move-Sequence in the Graph-Generalized 15-Puzzle is NP-Hard Oded Goldreich Abstract. Following Wilson (J. Comb. Th. (B), 1975), Johnson (J. of Alg., 1983), and Kornhauser, Miller and

### On the Relationship between Classes P and NP

Journal of Computer Science 8 (7): 1036-1040, 2012 ISSN 1549-3636 2012 Science Publications On the Relationship between Classes P and NP Anatoly D. Plotnikov Department of Computer Systems and Networks,

### A binary search algorithm for a special case of minimizing the lateness on a single machine

Issue 3, Volume 3, 2009 45 A binary search algorithm for a special case of minimizing the lateness on a single machine Nodari Vakhania Abstract We study the problem of scheduling jobs with release times

### Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar

Complexity Theory IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Outline Goals Computation of Problems Concepts and Definitions Complexity Classes and Problems Polynomial Time Reductions Examples

### Approximation Algorithms

Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms

### A class of on-line scheduling algorithms to minimize total completion time

A class of on-line scheduling algorithms to minimize total completion time X. Lu R.A. Sitters L. Stougie Abstract We consider the problem of scheduling jobs on-line on a single machine and on identical

### Offline sorting buffers on Line

Offline sorting buffers on Line Rohit Khandekar 1 and Vinayaka Pandit 2 1 University of Waterloo, ON, Canada. email: rkhandekar@gmail.com 2 IBM India Research Lab, New Delhi. email: pvinayak@in.ibm.com

### Tutorial 8. NP-Complete Problems

Tutorial 8 NP-Complete Problems Decision Problem Statement of a decision problem Part 1: instance description defining the input Part 2: question stating the actual yesor-no question A decision problem

### Approximated Distributed Minimum Vertex Cover Algorithms for Bounded Degree Graphs

Approximated Distributed Minimum Vertex Cover Algorithms for Bounded Degree Graphs Yong Zhang 1.2, Francis Y.L. Chin 2, and Hing-Fung Ting 2 1 College of Mathematics and Computer Science, Hebei University,

### Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Now that we have a basic understanding

### Page 1. CSCE 310J Data Structures & Algorithms. CSCE 310J Data Structures & Algorithms. P, NP, and NP-Complete. Polynomial-Time Algorithms

CSCE 310J Data Structures & Algorithms P, NP, and NP-Complete Dr. Steve Goddard goddard@cse.unl.edu CSCE 310J Data Structures & Algorithms Giving credit where credit is due:» Most of the lecture notes

### Bicolored Shortest Paths in Graphs with Applications to Network Overlay Design

Bicolored Shortest Paths in Graphs with Applications to Network Overlay Design Hongsik Choi and Hyeong-Ah Choi Department of Electrical Engineering and Computer Science George Washington University Washington,

### Fairness in Routing and Load Balancing

Fairness in Routing and Load Balancing Jon Kleinberg Yuval Rabani Éva Tardos Abstract We consider the issue of network routing subject to explicit fairness conditions. The optimization of fairness criteria

### On the k-path cover problem for cacti

On the k-path cover problem for cacti Zemin Jin and Xueliang Li Center for Combinatorics and LPMC Nankai University Tianjin 300071, P.R. China zeminjin@eyou.com, x.li@eyou.com Abstract In this paper we

### ! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three

### Answers to some of the exercises.

Answers to some of the exercises. Chapter 2. Ex.2.1 (a) There are several ways to do this. Here is one possibility. The idea is to apply the k-center algorithm first to D and then for each center in D

### Applied Algorithm Design Lecture 5

Applied Algorithm Design Lecture 5 Pietro Michiardi Eurecom Pietro Michiardi (Eurecom) Applied Algorithm Design Lecture 5 1 / 86 Approximation Algorithms Pietro Michiardi (Eurecom) Applied Algorithm Design

### Outline. NP-completeness. When is a problem easy? When is a problem hard? Today. Euler Circuits

Outline NP-completeness Examples of Easy vs. Hard problems Euler circuit vs. Hamiltonian circuit Shortest Path vs. Longest Path 2-pairs sum vs. general Subset Sum Reducing one problem to another Clique

### Offline 1-Minesweeper is NP-complete

Offline 1-Minesweeper is NP-complete James D. Fix Brandon McPhail May 24 Abstract We use Minesweeper to illustrate NP-completeness proofs, arguments that establish the hardness of solving certain problems.

### The Conference Call Search Problem in Wireless Networks

The Conference Call Search Problem in Wireless Networks Leah Epstein 1, and Asaf Levin 2 1 Department of Mathematics, University of Haifa, 31905 Haifa, Israel. lea@math.haifa.ac.il 2 Department of Statistics,

### Algorithm Design and Analysis

Algorithm Design and Analysis LECTURE 27 Approximation Algorithms Load Balancing Weighted Vertex Cover Reminder: Fill out SRTEs online Don t forget to click submit Sofya Raskhodnikova 12/6/2011 S. Raskhodnikova;

### Generating models of a matched formula with a polynomial delay

Generating models of a matched formula with a polynomial delay Petr Savicky Institute of Computer Science, Academy of Sciences of Czech Republic, Pod Vodárenskou Věží 2, 182 07 Praha 8, Czech Republic

### ! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

Approximation Algorithms Chapter Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of

Approximation Algorithms Chapter Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should I do? A. Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one

### Security-Aware Beacon Based Network Monitoring

Security-Aware Beacon Based Network Monitoring Masahiro Sasaki, Liang Zhao, Hiroshi Nagamochi Graduate School of Informatics, Kyoto University, Kyoto, Japan Email: {sasaki, liang, nag}@amp.i.kyoto-u.ac.jp

### Computer Algorithms. NP-Complete Problems. CISC 4080 Yanjun Li

Computer Algorithms NP-Complete Problems NP-completeness The quest for efficient algorithms is about finding clever ways to bypass the process of exhaustive search, using clues from the input in order

### NP-Completeness and Cook s Theorem

NP-Completeness and Cook s Theorem Lecture notes for COM3412 Logic and Computation 15th January 2002 1 NP decision problems The decision problem D L for a formal language L Σ is the computational task:

### COLORED GRAPHS AND THEIR PROPERTIES

COLORED GRAPHS AND THEIR PROPERTIES BEN STEVENS 1. Introduction This paper is concerned with the upper bound on the chromatic number for graphs of maximum vertex degree under three different sets of coloring

### Exponential time algorithms for graph coloring

Exponential time algorithms for graph coloring Uriel Feige Lecture notes, March 14, 2011 1 Introduction Let [n] denote the set {1,..., k}. A k-labeling of vertices of a graph G(V, E) is a function V [k].

### Integer Programming Approach to Printed Circuit Board Assembly Time Optimization

Integer Programming Approach to Printed Circuit Board Assembly Time Optimization Ratnesh Kumar Haomin Li Department of Electrical Engineering University of Kentucky Lexington, KY 40506-0046 Abstract A

### Approximation Algorithms. Scheduling. Approximation algorithms. Scheduling jobs on a single machine

Approximation algorithms Approximation Algorithms Fast. Cheap. Reliable. Choose two. NP-hard problems: choose 2 of optimal polynomial time all instances Approximation algorithms. Trade-off between time

### R u t c o r Research R e p o r t. Boolean functions with a simple certificate for CNF complexity. Ondřej Čepeka Petr Kučera b Petr Savický c

R u t c o r Research R e p o r t Boolean functions with a simple certificate for CNF complexity Ondřej Čepeka Petr Kučera b Petr Savický c RRR 2-2010, January 24, 2010 RUTCOR Rutgers Center for Operations

### Scheduling Single Machine Scheduling. Tim Nieberg

Scheduling Single Machine Scheduling Tim Nieberg Single machine models Observation: for non-preemptive problems and regular objectives, a sequence in which the jobs are processed is sufficient to describe

### Approximability of Two-Machine No-Wait Flowshop Scheduling with Availability Constraints

Approximability of Two-Machine No-Wait Flowshop Scheduling with Availability Constraints T.C. Edwin Cheng 1, and Zhaohui Liu 1,2 1 Department of Management, The Hong Kong Polytechnic University Kowloon,

### Scheduling Parallel Jobs with Monotone Speedup 1

Scheduling Parallel Jobs with Monotone Speedup 1 Alexander Grigoriev, Marc Uetz Maastricht University, Quantitative Economics, P.O.Box 616, 6200 MD Maastricht, The Netherlands, {a.grigoriev@ke.unimaas.nl,

### ON THE COMPLEXITY OF THE GAME OF SET. {kamalika,pbg,dratajcz,hoeteck}@cs.berkeley.edu

ON THE COMPLEXITY OF THE GAME OF SET KAMALIKA CHAUDHURI, BRIGHTEN GODFREY, DAVID RATAJCZAK, AND HOETECK WEE {kamalika,pbg,dratajcz,hoeteck}@cs.berkeley.edu ABSTRACT. Set R is a card game played with a

### Minimum Makespan Scheduling

Minimum Makespan Scheduling Minimum makespan scheduling: Definition and variants Factor 2 algorithm for identical machines PTAS for identical machines Factor 2 algorithm for unrelated machines Martin Zachariasen,

### Diversity Coloring for Distributed Data Storage in Networks 1

Diversity Coloring for Distributed Data Storage in Networks 1 Anxiao (Andrew) Jiang and Jehoshua Bruck California Institute of Technology Pasadena, CA 9115, U.S.A. {jax, bruck}@paradise.caltech.edu Abstract

### princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming Lecturer: Sanjeev Arora

princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming Lecturer: Sanjeev Arora Scribe: One of the running themes in this course is the notion of

### Boulder Dash is NP hard

Boulder Dash is NP hard Marzio De Biasi marziodebiasi [at] gmail [dot] com December 2011 Version 0.01:... now the difficult part: is it NP? Abstract Boulder Dash is a videogame created by Peter Liepa and

### Transportation Polytopes: a Twenty year Update

Transportation Polytopes: a Twenty year Update Jesús Antonio De Loera University of California, Davis Based on various papers joint with R. Hemmecke, E.Kim, F. Liu, U. Rothblum, F. Santos, S. Onn, R. Yoshida,

### Measuring Rationality with the Minimum Cost of Revealed Preference Violations. Mark Dean and Daniel Martin. Online Appendices - Not for Publication

Measuring Rationality with the Minimum Cost of Revealed Preference Violations Mark Dean and Daniel Martin Online Appendices - Not for Publication 1 1 Algorithm for Solving the MASP In this online appendix

### Batch Scheduling of Deteriorating Products

Decision Making in Manufacturing and Services Vol. 1 2007 No. 1 2 pp. 25 34 Batch Scheduling of Deteriorating Products Maksim S. Barketau, T.C. Edwin Cheng, Mikhail Y. Kovalyov, C.T. Daniel Ng Abstract.

### 5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition

### Two General Methods to Reduce Delay and Change of Enumeration Algorithms

ISSN 1346-5597 NII Technical Report Two General Methods to Reduce Delay and Change of Enumeration Algorithms Takeaki Uno NII-2003-004E Apr.2003 Two General Methods to Reduce Delay and Change of Enumeration

### THE SCHEDULING OF MAINTENANCE SERVICE

THE SCHEDULING OF MAINTENANCE SERVICE Shoshana Anily Celia A. Glass Refael Hassin Abstract We study a discrete problem of scheduling activities of several types under the constraint that at most a single

### 5.1 Bipartite Matching

CS787: Advanced Algorithms Lecture 5: Applications of Network Flow In the last lecture, we looked at the problem of finding the maximum flow in a graph, and how it can be efficiently solved using the Ford-Fulkerson

### Ecient approximation algorithm for minimizing makespan. on uniformly related machines. Chandra Chekuri. November 25, 1997.

Ecient approximation algorithm for minimizing makespan on uniformly related machines Chandra Chekuri November 25, 1997 Abstract We obtain a new ecient approximation algorithm for scheduling precedence

### A 2-factor in which each cycle has long length in claw-free graphs

A -factor in which each cycle has long length in claw-free graphs Roman Čada Shuya Chiba Kiyoshi Yoshimoto 3 Department of Mathematics University of West Bohemia and Institute of Theoretical Computer Science

### NP-completeness and the real world. NP completeness. NP-completeness and the real world (2) NP-completeness and the real world

-completeness and the real world completeness Course Discrete Biological Models (Modelli Biologici Discreti) Zsuzsanna Lipták Imagine you are working for a biotech company. One day your boss calls you

### CSC 373: Algorithm Design and Analysis Lecture 16

CSC 373: Algorithm Design and Analysis Lecture 16 Allan Borodin February 25, 2013 Some materials are from Stephen Cook s IIT talk and Keven Wayne s slides. 1 / 17 Announcements and Outline Announcements

### Introduction to Algorithms Review information for Prelim 1 CS 4820, Spring 2010 Distributed Wednesday, February 24

Introduction to Algorithms Review information for Prelim 1 CS 4820, Spring 2010 Distributed Wednesday, February 24 The final exam will cover seven topics. 1. greedy algorithms 2. divide-and-conquer algorithms

### Stationary random graphs on Z with prescribed iid degrees and finite mean connections

Stationary random graphs on Z with prescribed iid degrees and finite mean connections Maria Deijfen Johan Jonasson February 2006 Abstract Let F be a probability distribution with support on the non-negative

### A REMARK ON ALMOST MOORE DIGRAPHS OF DEGREE THREE. 1. Introduction and Preliminaries

Acta Math. Univ. Comenianae Vol. LXVI, 2(1997), pp. 285 291 285 A REMARK ON ALMOST MOORE DIGRAPHS OF DEGREE THREE E. T. BASKORO, M. MILLER and J. ŠIRÁŇ Abstract. It is well known that Moore digraphs do

### Class constrained bin covering

Class constrained bin covering Leah Epstein Csanád Imreh Asaf Levin Abstract We study the following variant of the bin covering problem. We are given a set of unit sized items, where each item has a color

### Minimizing the Number of Machines in a Unit-Time Scheduling Problem

Minimizing the Number of Machines in a Unit-Time Scheduling Problem Svetlana A. Kravchenko 1 United Institute of Informatics Problems, Surganova St. 6, 220012 Minsk, Belarus kravch@newman.bas-net.by Frank

### Theoretical Computer Science (Bridging Course) Complexity

Theoretical Computer Science (Bridging Course) Complexity Gian Diego Tipaldi A scenario You are a programmer working for a logistics company Your boss asks you to implement a program that optimizes the

### FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z DANIEL BIRMAJER, JUAN B GIL, AND MICHAEL WEINER Abstract We consider polynomials with integer coefficients and discuss their factorization

### School Timetabling in Theory and Practice

School Timetabling in Theory and Practice Irving van Heuven van Staereling VU University, Amsterdam Faculty of Sciences December 24, 2012 Preface At almost every secondary school and university, some

Reihe Informatik 11 / 1996 Constructing Optimal Bushy Processing Trees for Join Queries is NP-hard Wolfgang Scheufele Guido Moerkotte 1 Constructing Optimal Bushy Processing Trees for Join Queries is NP-hard

### Best Monotone Degree Bounds for Various Graph Parameters

Best Monotone Degree Bounds for Various Graph Parameters D. Bauer Department of Mathematical Sciences Stevens Institute of Technology Hoboken, NJ 07030 S. L. Hakimi Department of Electrical and Computer

### The multi-integer set cover and the facility terminal cover problem

The multi-integer set cover and the facility teral cover problem Dorit S. Hochbaum Asaf Levin December 5, 2007 Abstract The facility teral cover problem is a generalization of the vertex cover problem.

### Discuss the size of the instance for the minimum spanning tree problem.

3.1 Algorithm complexity The algorithms A, B are given. The former has complexity O(n 2 ), the latter O(2 n ), where n is the size of the instance. Let n A 0 be the size of the largest instance that can

### Scheduling Parallel Machine Scheduling. Tim Nieberg

Scheduling Parallel Machine Scheduling Tim Nieberg Problem P C max : m machines n jobs with processing times p 1,..., p n Problem P C max : m machines n jobs with processing times p 1,..., p { n 1 if job

HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE Subodha Kumar University of Washington subodha@u.washington.edu Varghese S. Jacob University of Texas at Dallas vjacob@utdallas.edu

### each college c i C has a capacity q i - the maximum number of students it will admit

n colleges in a set C, m applicants in a set A, where m is much larger than n. each college c i C has a capacity q i - the maximum number of students it will admit each college c i has a strict order i

### Cloud Computing is NP-Complete

Working Paper, February 2, 20 Joe Weinman Permalink: http://www.joeweinman.com/resources/joe_weinman_cloud_computing_is_np-complete.pdf Abstract Cloud computing is a rapidly emerging paradigm for computing,

### A Working Knowledge of Computational Complexity for an Optimizer

A Working Knowledge of Computational Complexity for an Optimizer ORF 363/COS 323 Instructor: Amir Ali Ahmadi TAs: Y. Chen, G. Hall, J. Ye Fall 2014 1 Why computational complexity? What is computational

### 11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005

### Scheduling Parallel Jobs with Linear Speedup

Scheduling Parallel Jobs with Linear Speedup Alexander Grigoriev and Marc Uetz Maastricht University, Quantitative Economics, P.O.Box 616, 6200 MD Maastricht, The Netherlands. Email: {a.grigoriev,m.uetz}@ke.unimaas.nl

### An improved on-line algorithm for scheduling on two unrestrictive parallel batch processing machines

This is the Pre-Published Version. An improved on-line algorithm for scheduling on two unrestrictive parallel batch processing machines Q.Q. Nong, T.C.E. Cheng, C.T. Ng Department of Mathematics, Ocean

### The Online Set Cover Problem

The Online Set Cover Problem Noga Alon Baruch Awerbuch Yossi Azar Niv Buchbinder Joseph Seffi Naor ABSTRACT Let X = {, 2,..., n} be a ground set of n elements, and let S be a family of subsets of X, S

### Graphs without proper subgraphs of minimum degree 3 and short cycles

Graphs without proper subgraphs of minimum degree 3 and short cycles Lothar Narins, Alexey Pokrovskiy, Tibor Szabó Department of Mathematics, Freie Universität, Berlin, Germany. August 22, 2014 Abstract

### Co-Clustering under the Maximum Norm

algorithms Article Co-Clustering under the Maximum Norm Laurent Bulteau 1, Vincent Froese 2, *, Sepp Hartung 2 and Rolf Niedermeier 2 1 IGM-LabInfo, CNRS UMR 8049, Université Paris-Est Marne-la-Vallée,

### Duplicating and its Applications in Batch Scheduling

Duplicating and its Applications in Batch Scheduling Yuzhong Zhang 1 Chunsong Bai 1 Shouyang Wang 2 1 College of Operations Research and Management Sciences Qufu Normal University, Shandong 276826, China

### Labeling outerplanar graphs with maximum degree three

Labeling outerplanar graphs with maximum degree three Xiangwen Li 1 and Sanming Zhou 2 1 Department of Mathematics Huazhong Normal University, Wuhan 430079, China 2 Department of Mathematics and Statistics

### arxiv:1507.04820v1 [cs.cc] 17 Jul 2015

The Complexity of Switching and FACTS Maximum-Potential-Flow Problems Karsten Lehmann 2,1, Alban Grastien 2,1, and Pascal Van Hentenryck 1,2 arxiv:1507.04820v1 [cs.cc] 17 Jul 2015 1 Artificial Intelligence

### MATHEMATICAL ENGINEERING TECHNICAL REPORTS. An Improved Approximation Algorithm for the Traveling Tournament Problem

MATHEMATICAL ENGINEERING TECHNICAL REPORTS An Improved Approximation Algorithm for the Traveling Tournament Problem Daisuke YAMAGUCHI, Shinji IMAHORI, Ryuhei MIYASHIRO, Tomomi MATSUI METR 2009 42 September

### Introduction to Algorithms. Part 3: P, NP Hard Problems

Introduction to Algorithms Part 3: P, NP Hard Problems 1) Polynomial Time: P and NP 2) NP-Completeness 3) Dealing with Hard Problems 4) Lower Bounds 5) Books c Wayne Goddard, Clemson University, 2004 Chapter

### Big Data: A Geometric Explanation of a Seemingly Counterintuitive Strategy

Big Data: A Geometric Explanation of a Seemingly Counterintuitive Strategy Olga Kosheleva and Vladik Kreinovich University of Texas at El Paso 500 W. University El Paso, TX 79968, USA olgak@utep.edu, vladik@utep.edu

### Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs

Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 13 Overview Graphs and Graph

### 8.1 Makespan Scheduling

600.469 / 600.669 Approximation Algorithms Lecturer: Michael Dinitz Topic: Dynamic Programing: Min-Makespan and Bin Packing Date: 2/19/15 Scribe: Gabriel Kaptchuk 8.1 Makespan Scheduling Consider an instance

### 1 Approximating Set Cover

CS 05: Algorithms (Grad) Feb 2-24, 2005 Approximating Set Cover. Definition An Instance (X, F ) of the set-covering problem consists of a finite set X and a family F of subset of X, such that every elemennt

### Steiner Tree NP-completeness Proof

Steiner Tree NP-completeness Proof Alessandro Santuari May 7, 2003 Abstract This document is an eercise for the Computational Compleity course taken at the University of Trento. We propose an NP-completeness

### Matthias F.M. Stallmann Department of Computer Science North Carolina State University Raleigh, NC 27695-8206

Matthias F.M. Stallmann Department of Computer Science North Carolina State University Raleigh, NC 27695-8206 August, 1990 UNIFORM PLANAR EMBEDDING IS NP-COMPLETE* MATTHIAS F.M. STALLMANN Key Words. planar

### Why? A central concept in Computer Science. Algorithms are ubiquitous.

Analysis of Algorithms: A Brief Introduction Why? A central concept in Computer Science. Algorithms are ubiquitous. Using the Internet (sending email, transferring files, use of search engines, online

### THE PROBLEM WORMS (1) WORMS (2) THE PROBLEM OF WORM PROPAGATION/PREVENTION THE MINIMUM VERTEX COVER PROBLEM

1 THE PROBLEM OF WORM PROPAGATION/PREVENTION I.E. THE MINIMUM VERTEX COVER PROBLEM Prof. Tiziana Calamoneri Network Algorithms A.y. 2014/15 2 THE PROBLEM WORMS (1)! A computer worm is a standalone malware

### NP-Completeness I. Lecture 19. 19.1 Overview. 19.2 Introduction: Reduction and Expressiveness

Lecture 19 NP-Completeness I 19.1 Overview In the past few lectures we have looked at increasingly more expressive problems that we were able to solve using efficient algorithms. In this lecture we introduce

### Virtual Machine Allocation in Cloud Computing for Minimizing Total Execution Time on Each Machine

Virtual Machine Allocation in Cloud Computing for Minimizing Total Execution Time on Each Machine Quyet Thang NGUYEN Nguyen QUANG-HUNG Nguyen HUYNH TUONG Van Hoai TRAN Nam THOAI Faculty of Computer Science

### M.S. Ibrahim 1*, N. Maculan 2 and M. Minoux 3

Pesquisa Operacional (2014) 34(1): 117-124 2014 Brazilian Operations Research Society Printed version ISSN 0101-7438 / Online version ISSN 1678-5142 www.scielo.br/pope A NOTE ON THE NP-HARDNESS OF THE

### OHJ-2306 Introduction to Theoretical Computer Science, Fall 2012 8.11.2012

276 The P vs. NP problem is a major unsolved problem in computer science It is one of the seven Millennium Prize Problems selected by the Clay Mathematics Institute to carry a \$ 1,000,000 prize for the

### Scheduling. Open shop, job shop, flow shop scheduling. Related problems. Open shop, job shop, flow shop scheduling

Scheduling Basic scheduling problems: open shop, job shop, flow job The disjunctive graph representation Algorithms for solving the job shop problem Computational complexity of the job shop problem Open