• Aucun résultat trouvé

The complexity of short schedules for uet bipartite graphs

N/A
N/A
Protected

Academic year: 2022

Partager "The complexity of short schedules for uet bipartite graphs"

Copied!
5
0
0

Texte intégral

(1)

RAIRO. R ECHERCHE OPÉRATIONNELLE

E VRIPIDIS B AMPIS

The complexity of short schedules for uet bipartite graphs

RAIRO. Recherche opérationnelle, tome 33, no3 (1999), p. 367-370

<http://www.numdam.org/item?id=RO_1999__33_3_367_0>

© AFCET, 1999, tous droits réservés.

L’accès aux archives de la revue « RAIRO. Recherche opérationnelle » implique l’accord avec les conditions générales d’utilisation (http://www.

numdam.org/conditions). Toute utilisation commerciale ou impression systé- matique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit contenir la présente mention de copyright.

Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques

http://www.numdam.org/

(2)

RAIRO Oper. Res. 33 (1999) 367-370

THE COMPLEXITY OF SHORT SCHEDULES FOR UET BIPARTITE GRAPHS (*)

by Evripidis BAMPIS (*) Communicated by Philippe CHRÉTIENNE

Abstract. - We show that the problem of deciding if there is a schedule of length three for the multiprocessor scheduling problem on identical machines and unit exécution time tasks in NP- complete even for bipartite graphs, Le. for precedence graphs of depth one. This complexity res uit extends a classical result of Lenstra and Rinnoy Kan [5].

Keywords: Schedule, multiprocessor, bipartite graph, complexity.

Résumé. - Nous démontrons que le problème de décider s'il existe un ordonnancement de longueur trois pour le problème d'ordonnancement multiprocesseur, avec des machines identiques et des tâches de durée unitaire, est NP-complet même pour les graphes de précédence bipartis, Le. les graphes de précédence de profondeur un. Ce résultat de complexité constitue une extension d'un résultat classique de Lenstra et Rinnoy Kan [5],

Mots clés : Ordonnancement, multiprocesseur, graphe bipartit, complexité.

1. INTRODUCTION

This note deals with the difficulty of obtaining near-optimal solutions for the multiprocessor scheduling problem subject to precedence delays:

Given n unit exécution time tasks whose precedence constrains form a directed acyclic graph and m identical machines the objective is to find a schedule minimizing the makespan, Le. the time at which the last task of the precedence graph complètes its exécution. Using the three field notation [3] this problem can be denoted as:

P|prec, pj = l | Cm a x.

(*) Received June 1997.

C1) LaMI, Université d'Évry Val d'Essonne, 91025 Évry Cedex, France E-mail: bampis@lami.univ-evry.fr

Recherche opérationnelle/Opérations Research, 0399-0559/99/03/$ 7.00

(3)

3 6 8 E. BAMPIS

This problem has been extensively studied in the literature. Graham [1]

proved that any list scheduling strategy is a 2-approximation algorithm.

Ullman [8] proved that this problem is NP-hard. Furthermore, Lenstra and Rinnoy Kan [5] showed that the problem of deciding if there is a feasible schedule of length three is NP-complete, and thus there is no hope of finding an approximation algorithm with performance guarantee less than | , unless P = NP. The proof is based on a réduction of the CLIQUE problem and was presented in some of the most classical books of Computer Science (see for instance [6]). We extend this classical result by showing that it is true even if the precedence graph is a bipartite graph, Le. a precedence graph with depth one.

2. THE NP-COMPLETENESS RESULT

In this section we prove the following theorem:

THEOREM: The problem P|prec = bipartite, pj = l | Cm a x < 3 is NP-complete.

Proof: The proof is based on the balanced bipartite independent set problem (BBIS) whose ATP-completeness is clearly implied by the well known TVP-complete problem balanced bipartite complete graph (BBCG) [2].

Instance of BBIS: An undirected balanced bipartite graph B = (XuY, E), with \X\ = \Y\ = n, and an integer k.

Question: Is there in B, an independent set with k vertices in X and k vertices in 7 ?

If such an independent set exists, we call it balanced independent set of order k.

The problem remains TVP-complete even if k = \ [9]. In the following we consider BBIS as the source problem.

Given any instance of BBIS, Le. a balanced bipartite graph B — (XuY, E), with \X\ — \Y\ = n, we construct an instance of our scheduling problem in the following way:

There are m — n identical processors to exécute 3 n unit exécution time tasks. The precedence graph G that we consider contains:

1. B - (X U y, E), with \X\ - \Y\ - n, and where the edges between X and Y are replaced by the corresponding arcs directed from the vertices of X towards the vertices of Y.

2. A complete bipartite graph A = (WU Z, Ef), with \W\ = \Z\ = f and where all the vertices of W précède all the vertices of Z.

Recherche opérationnelle/Opérations Research

(4)

3. All the vertices of W précède all the vertices of Y and all the vertices of X précède all the vertices of Z.

Notice that G is bipartite, and that the corresponding instance of P|prec — bipartite, pj — l | Cm a x < 3 may be computed in polynomial time.

We have now to show that B contains a balanced independent set with | vertices in X and j vertices in Y if and only if there is a feasible schedule of G with length three.

Let us first consider that B contains such a balanced independent set, call it S = Xi U Yi with Xi C I , Fi C Y, and \X\\ = |Yi| = f. Then there is a schedule of G with length three:

t — 1: exécute all the tasks of X - X\ and all the tasks of W.

t = 2: exécute all the tasks of X\ and all the tasks of Y\.

t — 3: exécute all the tasks of Y — Y\ and all the tasks of Z.

It is easy to verify that this schedule is feasible since all the precedence constraints are satisfied. The feasibility of the schedule is guaranteed from the existence of the a balanced independent set (Xi, Y\).

Conversely, let us now assume that there is a feasible schedule of G of length three. We have to show that any schedule of this length nécessitâtes the existence of a balanced independent set X[ U Y{ with X{ C X, Y/ c Y, and \X[\ = \Y{\ = \ in B.

The key point of the proof is that all the tasks of W (resp. Z) have to be executed during the first (resp. third) time unit. This is clear since every task of W (resp. Z) précèdes (resp. is preceded by) exactly ^ tasks and there is only n machines. Thus, only Ç tasks of X can be executed at the first time unit. Notice that no task of Y can be executed in the first time unit because of the constraints coming from W. Similarly, all the task of X have to finish no later than the second time unit since they précède all the tasks of Z. Given that during the third time unit there are exactly ^ free machines, we get that there are exactly | tasks of Y and | tasks of X executed in the second time unit. From the feasibility of the schedule we can conclude that these tasks fórm a balanced independent set X[ U Y{ with X[ C X, Y{ c Y, and \X[\ = \Y{\ = f in B, as required.

3. CONCLUDING REMARKS

We proved that the problem P|prec = bipartite, pj = lICmax < 3 is TVP-complete. This problem is interesting to compare to P|prec, p3• — 1, Cij = l|Cm a x < 3, which is polynomial [7], and to P|prec = bipartite, Pj — 1, dj = l|Cm a x < 4 which is iVF-complete [4].

vol. 33, n° 3, 1999

(5)

370 E. BAMPIS

REFERENCES

[1] R. L. GRAHAM, Bounds for Certain Multiprocessing Anomalies, Bell System Tech.

J., 1966, 45, p. 1563-1581.

[2] M. R. GAREY and D. S. JOHNSON, Computers and Intractability, A Guide to the Theory of TVP-completeness, Ed. Freeman, 1979.

[3] R. L. GRAHAM, E. L. LAWLER, J. K. LENSTRA and K. RINNOOY KAN, Optimization and

Approximation in Deterministic Scheduling: A Survey, Ann. Disc. Math, 1979, 5, p. 287-326.

[4] J. A. HOOGEVEEN, J. K. LENSTRA and B. VELTMAN, Three, four, five, six or the Complexity of Scheduling with Communication Delays, Oper. Res. Lett, 1994, 16, p. 129-137.

[5] J, K. LENSTRA and A. H. G. RINNOOY KAN, Complexity of scheduling under precedence constraints, Oper. Res., 1978, 26, p. 22-35.

[6] C. H. PAPADIMITRIOU and K. STEIGLITZ "Combinatorial Optimization: Algorithms and Complexity", Prentice-Hall, 1982.

[7] C. PICOULEAU, Étude des problèmes d'optimisation dans les systèmes distribués, Ph.D. Thesis, Université Pierre-et-Marie-Curie, France, 1992.

[8] J. D. ULLMAN, JVP-complete scheduling problems, J. Comp. Syst. Se, 1975, 10, p. 384-393.

[9] R. SAAD, Scheduling with Communication Delays, J. Comb. Math. Comb. Comp., 1995, 18, p. 214-224.

Recherche opérationnelle/Opérations Research

Références

Documents relatifs

Russell used acquaintance to that effect: ÒI say that I am acquainted with an object when I have a direct cognitive relation to that object, that is when I am directly aware of

This paper is organized as follows: in the next section, we will briefly present previous related work about the hardness of solving bounded-size-path packing problems; then, the

On the positive side, we show that the unweighted problem is polynomial-time solvable for proper interval graphs, and that the weighted cluster deletion prob- lem is

As for MIP approaches, we observe first that ADMAN can be interpreted as a classical single machine scheduling problem with sequence dependent setup times and

Unit´e de recherche INRIA Rennes, Irisa, Campus universitaire de Beaulieu, 35042 RENNES Cedex Unit´e de recherche INRIA Rh ˆone-Alpes, 46 avenue F´elix Viallet, 38031 GRENOBLE Cedex

Crossdocking is a warehouse management concept in which items delivered to a warehouse by inbound trucks are quickly sorted out, reorganized based on customer demands and loaded

We have discussed the well known pulse (PDDT) and step (SDDT) time-indexed formulations and the less well-known on/off time-indexed formulation (OODDT) for the RCPSP, that are

To the best of our knowl- edge, OLU W is the first on-line algorithm maximizing the size with guarantees on the competitive ratio for the time- constrained scheduling problem on