Abstract
We investigate relationships between scheduling problems with the bottleneck objective functions (minimising makespan or maximal lateness) and problems of optimal colourings of the mixed graphs. The investigated scheduling problems have integer durations of the multi-processor tasks (operations), integer release dates and integer due dates of the given jobs. In the studied scheduling problems, it is required to find an optimal schedule for processing the partially ordered operations, given that operation interruptions are allowed and indicated subsets of the unit-time operations must be processed simultaneously. First, we show that the input data for any considered scheduling problem can be completely determined by the corresponding mixed graph. Second, we prove that solvable scheduling problems can be reduced to problems of finding optimal colourings of corresponding mixed graphs. Third, finding an optimal colouring of the mixed graph is equivalent to the considered scheduling problem determined by the same mixed graph. Finally, due to the proven equivalence of the considered optimisation problems, most of the results that were proven for the optimal colourings of mixed graphs generate similar results for considered scheduling problems, and vice versa.
1. Introduction
For optimal production planning and scheduling, it is required to construct an optimal schedule for processing a set of tasks (jobs) using existing equipment (processors). Optimisation of a schedule is a key factor in improving efficiency, as it allows a scheduler to reduce production costs, the time of the execution of incoming customer orders and the timely supply of production processes with raw materials and other components that are required for the manufacture of final products. Practical production scheduling (planning) problems are diverse in terms of conditions, restrictions and the objectives to be achieved by optimal schedules. To solve a large number of scheduling problems, special models and algorithms have been developed that take into account the specific conditions and objectives of concrete production planning. An extension of the application areas of scheduling algorithms can be based on a generalisation of scheduling models for complicated multi-stage systems in order to present different problem sets and to develop universal methods for constructing optimal schedules on the basis of the generalised scheduling models.
It is well known that the construction of the makespan-optimal schedule for fulfilling operations of equal duration reduces the construction of the optimal colouring of vertices of the graph. If it is required to consider precedence constraints specified on the operation set and the impossibility of processing two or more tasks simultaneously on the same processor, then, to determine the makespan-optimal schedule for fulfilling the unit-time operations, one can use the optimal colouring of the mixed graph [,].
In this paper, we focus on scheduling problems with integer operation durations and job release dates to minimize the makespan or maximal lateness of the given jobs with integer due dates.
Let be a mixed graph with the set of vertices, the set of arcs and the set of edges. Each arc determines an ordered pair of vertices from the set . Each edge determines an unordered pair of vertices. The mixed graph considered in this paper does not contain loops, multiple arcs and multiple edges. For the empty set of arcs, we obtain the graph . For the empty set of edges, we obtain the directed graph (the digraph for short).
In [], a colouring of the mixed graph was defined.
Definition 1
([]). A function is called a colouring of a mixed graph if the inequalities hold for all arcs and the relations hold for all edges . A colouring is optimal if this colouring uses a minimal number of colours . The minimal number is called a chromatic number of the mixed graph .
If the equality holds, then the colouring is an ordinary colouring of the graph . The mixed graph with the non-empty set of arcs and the non-empty set of edges may not be colourable [].
Theorem 1
([]). A colouring of vertices of mixed graph exists if and only if the directed graph has no circuit containing the adjacent vertices in the graph .
Finding an optimal colouring of the vertices of the mixed graph is an NP-hard problem, even if ; see []. The NP-hardness of the optimisation problem means that it is unlikely that there exists a polynomial algorithm for solving this problem, since there is a polynomial reduction to this problem from a huge number of NP-hard problems, while there is no polynomial algorithm for each of them yet.
In [,], it is proven that a job-shop problem with equal (unit) durations of operations with the objective of minimising a schedule length (i.e., makespan) reduces to a problem of finding the optimal colouring of the mixed graph .
In this paper, we show that finding the optimal colouring reduces to the problem of constructing a schedule that minimizes a maximal lateness for processing multi-processor tasks with integer durations, integer due dates and allowed operation interruptions. The converse is also proven. Processing a multi-processor task requires several dedicated processors; see Chapter 10 of the monograph []. Moreover, two types of precedence constraints can be specified for the multi-processor tasks, and the unit-time operations of the indicated subset must be processed simultaneously.
The remaining part of this paper is organised as follows. The settings of considered scheduling problems, preliminary results and notation are given in Section 2. Related papers are cited, where it has been shown that the problem of finding an optimal colouring of the mixed graph reduces to finding a makespan-optimal schedule for partially ordered operations with unit processing times. Scheduling problems are discussed in increasing order of their complexity. Section 3 demonstrates that the problem of optimal colouring of the mixed graph reduces to finding a makespan-optimal schedule of the multi-processor tasks with equal durations. In Section 4, we discuss scheduling problems of minimising maximal lateness of completing jobs with respect to integer due dates. New results are proven, demonstrated, and discussed in Section 4, Section 5, Section 6, Section 7 and Section 8. The possibility of interruptions processing integer-time tasks is studied in Section 5. A theorem is proven on the reduction of the optimal colouring to the scheduling problems with a minimisation of the makespan for the interrupted integer–time tasks with integer release dates of the jobs. An illustrative example of the studied scheduling problem is solved in Section 6. Section 7 includes a theorem on the equivalence of scheduling problems with a maximal lateness objective and the problem of finding optimal colourings of the mixed graphs. Due to the proven equivalence of the problems of constructing optimal schedules and mixed graph colouring problems, many claims that have been proven for scheduling problems can be applied to the problems of optimal mixed graph colourings, and vice versa. In Section 8, we discuss new findings and their potential implications. Section 9 contains concluding remarks and promising future research directions. The new theorems and most of the theorems presented in the survey section are demonstrated in the numerical examples in the main text and in Appendix A and Appendix B.
2. Related Works, Definitions, and Preliminaries
In the following, terminology from [] is used for scheduling problems and terminology from [,] is used for graph theory. To classify scheduling problems, a three-field notation [] is used, where determines the processing system, field determines the characteristics of the jobs, and field an objective function.
2.1. Minimum Length Unit-Time Job-Shop Problems
We begin by examining the unit-time scheduling problem of constructing a makespan-optimal schedule for fulfilling the set of the given jobs by the dedicated processors . The execution of the job entails the execution of the ordered set of operations with unit (equal) durations in the strict linear order () on the corresponding processors from the set . The operation is performed by the processor .
This processing system is called a job-shop, denoted in the three-field notation used for this problem. The notation is used to specify the optimality criterion of minimising the makespan (the schedule length) in the desired optimal schedule, where denotes the completion time of the job . All jobs in the set are ready for processing from the same release date . Interruptions are not allowed during the execution of an operation with . A schedule for processing the job set is determined either by the start times or by the completion times of the operations . The length (makespan) of the schedule is equal to .
Let the subset of the set consist of operations to be fulfilled by the processor . Given that every pair of operations within the set must not be executed simultaneously, any schedule that exists for a job-shop problem determines strict linear orders of the operations fulfilled by the processors . An optimal schedule for the problem
has the minimum length among all schedules that exist for this problem.
The objective function for each regular criterion is a non-decreasing function of the arguments where When solving the scheduling problem with a regular criterion , the optimal schedule can be found within the set of semiactive schedules [].
Definition 2
([]). The schedule S for the problem is semiactive, if the execution of every operation cannot be processed earlier without violating the operation order in schedule S or another operation is processed later than in this schedule.
2.2. Optimal Strict Colourings of Mixed Graphs and Equivalent Unit-Time Job-Shop Problems
The paper [] introducing Definition 1 was published in Russian. In 1997, another colouring of mixed graph was introduced in the paper [], published in English.
Definition 3
([]). The function is a strict colouring of the mixed graph , if the inequalities hold for all arcs and the relations hold for all edges . The strict colouring is optimal, if this colouring uses a minimum number of colours .
We can use colouring instead of strict colouring of vertices of the mixed graph provided that the following implication holds for every arc
If the mixed graph includes the arc and the implication (2) does not hold, one can add an edge to the mixed graph for each such arc A strict colouring of the mixed graph can be represented as a colouring of the mixed graph obtained by including all such edges to the mixed graph . Thus, the following lemma is obtained.
Lemma 1.
A strict colouring of the mixed graph can be interpreted as a special case of the colouring , if the inclusion implies the inclusion .
A criterion for the existence of a strict colouring of vertices of the mixed graph is determined by Corollary 1 of Theorem 1.
Corollary 1
([]). A strict colouring exists if and only if the digraph does not contain a circuit.
Theorem 2 was proven in [].
Theorem 2
([]). The unit-time scheduling problem is equivalent to the problem of finding the optimal strict colouring of vertices of the mixed graph with , provided that two conditions hold as follows:
- (a)
- , where each subgraph is a path passing through the vertices and equality holds for indexes ;
- (b)
- , where each subgraph is a complete graph on the set and equality holds for indexes .
Due to Lemma 1 and Theorem 2, one can obtain the following corollary.
Corollary 2
([]). The unit-time scheduling problem is equivalent to the problem of determining the optimal colouring of the mixed graph , where the relations
hold along with the above conditions (2), (a) and (b).
To illustrate Corollary 2, we consider Example 1 of the problem , whose input data are determined by the corresponding mixed graph .
Remark 1.
Since all operations in the unit-time scheduling problem have unit processing times, we represent each operation as a vertex in the mixed graph with indexing the vertices in the set in the lexicographic order of the pairs of the indexes of the corresponding operations , . Thus, we obtain the following set of vertices, where the equality holds.
Example 1.
The dedicated processors must process jobs , where processing the job consists of the singleton = . The job is represented as a union of the path in the digraph and the chain in the graph . The job contains the set = of the ordered operations . The job is represented as a union of the path in the digraph and the chain in the graph . The job contains the set = of the linearly ordered operations . The job is represented as a union of the path in the directed graph and the in graph . The job contains the set = of the ordered operations . The job is represented as a union of the path in directed graph and the chain in graph
Let the set = be defined as a set of operations processed on the processor . The forbiddance to process the operations of the set simultaneously is determined by the clique in the graph ; see Figure 1. Let the processor have to process the operations = . The forbiddance to process operations of the set simultaneously is determined by the edge . Let the processor have to process the operations = . The forbiddance to process operations of the set simultaneously is determined by the clique . Let the processor have to process the operations = . The forbiddance to process any pair of operations of the set simultaneously is determined by the clique . Let the processor have to process the operations = . The forbiddance to process any pair of operations of the set simultaneously is determined by the clique .
Figure 1.
Mixed graph that determines input data for Example 1.
A specific colour is used for indicating the operations that are processed on the processor see Figure 1. It is clear that the mixed graph depicted in Figure 1 possesses properties (1), (a) and (b), and the indexing of all vertices of the set satisfies Remark 1. The optimal colouring of the mixed graph is defined as follows: and . The optimality of the colouring follows from the fact that the graph contains the chain with four vertices and the digraph contains the path . So, the chromatic number is not less than four. The optimality of the colouring follows also from the clique .
Due to Corollary 2, an optimal colouring defines the following optimal semiactive schedule for Example 1 with the input data shown in Figure 1:
Due to Corollary 2, we obtain the chromatic number .
2.3. General Shop Minimum-Length Unit-Time Scheduling Problems
The general shop scheduling problem is a generalisation of the job-shop scheduling problem . In the former problem , in addition to the strict order that is determined on the set of operations of the same job , precedence constraints can be defined between operations of different jobs. Moreover, indicated unit-time operations must be processed simultaneously. In [], completion-start precedence constraints and start-start precedence constraints between operations of different jobs were also considered.
The processing job consists of the set of linearly ordered operations. The duration of every operation of the set equals one; . We represent the job as a union of the path in the directed graph and the chain in the graph , which are subgraphs of the mixed graph determining input data of the problem . Thus, we obtain the vertex set of the desired mixed graph , the subset of edges and the subset of arcs such that the implication (3) holds:
In the general shop unit-time scheduling problem , along with a linear strict order given on the set of all operations of the job , there are given precedence constraints between operations belonging to different jobs in the set Let denote a subset of the set such that the implication (2) does not hold for each arc . In the unit-time scheduling problem , one processor of the set is needed to process an operation . Let the set be a set of operations, which must be processed on the processor . A pair of operations processed on the processor cannot be processed simultaneously. Such a capacity constraint for processing operations on the processor is represented by the clique in the subgraph of the desired mixed graph .
The general shop unit-time scheduling problem is to find a schedule for processing the set = of partially ordered operations, whose length is minimal among the lengths of all semiactive schedules existing for the general shop scheduling problem . The input data for the general shop unit-time scheduling problem are determined by the mixed graph , where the vertex set is a set of operations, the arc set determines precedence constraints and the edge set determines capacity constraints.
The union of the arc set and the edge set determines subsets of the linearly ordered operations of the jobs . The subset of the edges determines cliques in the subgraph , where all operations must be processed on the same processor . The precedence constraints between operations belonging to different jobs are determined by the directed subgraph of the mixed graph .
If the completion time of the operation , , must precede the start time of the operation belonging the job with , then the mixed graph must contain both arc and edge ; see Definition 1. We denote this completion-start constraint as . If the constraint holds for the unit-time scheduling problem , then the implication (1) holds for the arc (the implication holds for the edges If the start time of the operation of the job must precede the start time of the operation , , where , then the desired mixed graph contains arc . We denote this weak precedence constraint as follows: . If the precedence constraint holds for the problem , then the implication (1) does not hold for the arc .
Due to the use of weak precedence constraints, it is possible to require that a subset of the unit-time operations must be processed simultaneously. To represent such a requirement, it is necessary to construct a circuit containing all vertices of the set . As shown in [], the constructed mixed graph completely determines the input data for a general shop unit-time problem .
Definition 4.
If a mixed graph completely determines the input data for the scheduling problem , then this individual problem is called a scheduling problem on the mixed graph .
Theorem 3 was proved in [].
Theorem 3
([]). A general shop unit-time problem on the mixed graph reduces to the problem of determining the optimal colouring .
It should be noted that there are problems in finding optimal colourings of the mixed graph that cannot be represented as a general shop unit-time scheduling problem . In Appendix A, we solve Example A1 of the unit-time scheduling problem to illustrate Theorem 3.
3. Colouring Vertices of Mixed Graphs and Unit-Time Scheduling Problems
In contrast to shop scheduling problems , and other scheduling problems [], where one machine performs each operation (task), in the multistage system, with multi-processor tasks [,,], the task may require one processor or several dedicated processors during the entire time of processing this task. The tasks that require a common processor cannot be processed simultaneously.
Chapter 10 of the monograph [] is devoted to unit-time scheduling problems with multi-processor tasks. In [], the more general unit-time scheduling problem was introduced including the unit-time scheduling problem . In the unit-time scheduling problem , two types of the precedence relations and can be given in the input data. It may also be required that a set of multi-processor tasks has to be performed simultaneously in each schedule. To present this condition, the circuit must be included in the digraph such that the following is true:
We assume that the input data of the considered unit-time scheduling problem includes subsets of the given set such that all tasks of the subset must be performed simultaneously; Since all unit-time tasks of the set must be fulfilled simultaneously, we obtain the following set of arcs:
The example of the unit-time problem defines the mixed graph with arc set . Theorems 4 and 5 are proven in [].
Theorem 4
([]). The unit-time problem on the mixed graph is solvable if and only if the directed subgraph has no circuit containing adjacent vertices in the subgraph .
Theorem 5
([]). Every solvable unit-time problem on the mixed graph is equivalent to the problem of finding an optimal colouring of the mixed graph . For every colourable mixed graph there exists a unit-time problem determined by the same mixed graph , which is equivalent to finding an optimal colouring of the mixed graph .
Theorems 4 and 5 are illustrated by solving Example A2 of the problem on the mixed graph depicted in Figure A2; see Appendix B.
4. Minimising Maximal Lateness and Equivalent Minimising Makespan for Jobs with Integer Release Dates
The unit-time problem with integer release dates of the jobs has been studied in []. Since release dates are non-negative integers and operations have unit durations, the input data of the problem can be determined by the mixed graph ; see Section 2 and Section 3.
4.1. Minimising Makespan for Unit-Time Tasks as Optimal Mixed Graph Colouring
In the problem , the multi-processor task is considered as a job . A job consisting of a single operation is referred to as a simple job in Theorem 6 which follows. Note that the first part of this theorem has been proven in [] by generating a mixed graph , which determines the problem to the mixed graph determining the input data for the problem . Due to the demonstrated correspondence of the terms used in optimal coloring and those used in solving a unit-time problem , the following first part of Theorem 6 was proven in []: Any solvable unit-time problem on the mixed graph is equivalent to the problem of finding an optimal colouring of the mixed graph .
Theorem 6.
Any solvable unit-time problem on the mixed graph is equivalent to the problem of finding an optimal colouring of the mixed graph . Conversely, for any colourable mixed graph , there exists a unit-time problem on the mixed graph , which is equivalent to the problem of finding optimal colouring .
Proof of the second part of Theorem 6.
We next prove the claim as follows: for any colorable mixed graph , there exists a unit-time problem on the mixed graph , which is equivalent to the problem of finding optimal colouring . Let set denote a set of all circuits existing in the digraph .
We will treat two possible cases, I and II.
Case I. Let set be empty; .
The unit-time scheduling problem on the mixed graph may be constructed based on Algorithm 1, which follows.
Case II. Let set be not empty; .
The mixed graph is colourable. So, due to Theorem 1, each circuit in set has no vertices that are adjacent in the graph . Therefore, all tasks of the set must be processed simultaneously in the unit-time problem on the mixed graph with the circuit existing in the directed subgraph . Assume that . We delete arcs determined in (4) from the mixed graph and apply Algorithm 1 to the constructed mixed graph . Thus, we construct the unit-time problem on the mixed graph which is equivalent to the problem of finding the optimal coloring . This unit-time problem on the mixed graph is equivalent to the problem of finding the optimal colouring of the mixed graph . □
| Algorithm 1: Determining the unit-time problem , which is equivalent to the problem of finding an optimal colouring |
|
The above Algorithm 1 shows us how to construct the unit-time problem on the mixed graph , which is equivalent to the problem of finding an optimal coloring of the mixed graph , all jobs in the set being simple.
To illustrate Theorem 6, we solve Example 2 of the unit-time problem on the mixed graph depicted in Figure 2.
Figure 2.
Mixed graph determining input data for Example 2.
Example 2.
This example is similar to Example A2 with the input data shown in Figure A2; see Appendix B. The only difference is that the input data for Example 2 include the following release dates for the jobs : , ,
, . We determine the input data for Example 2 based on a mixed graph that includes the subgraph presented in Figure 2. The release date of the job is represented by the union of path in the directed graph and chain in the graph . The release date of the job is represented by the union of path in the directed graph and chain in the graph . The release date of the job is represented by the union of arc in the directed graph and edge in the graph . The release date of the job is represented by the union of path in the directed graph and chain in the graph .
The directed subgraph of the mixed graph contains the single circuit . Since this circuit has no vertices that are adjacent in the subgraph of the mixed graph , there exists a semiactive schedule for Example 2 of the unit-time problem on the mixed graph ; see Theorem 4. One can construct the following optimal colouring of the mixed graph depicted in Figure 2: , , , , , , , , , , , .
The colouring with is optimal for Example 2 since digraph contains a path and the graph contains a chain whose lengths are equal to 9. Because of this path and chain, the inequality holds. Based on Theorem 6, the colouring defines the following optimal semiactive schedule for Example 2:
The correspondence between operations and vertices is based on Remark 1. Due to Theorem 6, the following equalities hold: .
4.2. Equivalent Scheduling Problems for Minimising either Makespan or Miximal Lateness
In [], it was proven that the scheduling problem reduces to the scheduling problem with the objective of minimising the maximal lateness , where the given due dates are integers.
Theorem 7
([]). Every solvable unit-time problem on the mixed graph with integer release dates reduces to unit-time problem with non-negative integer due dates, and vice versa.
For illustrating Theorem 7, we solve Example 2 of the unit-time problem on the mixed graph shown in Figure 2 and the following Example 3 of the unit-time problem .
Example 3.
In Example 3 of the problem on the mixed graph depicted in Figure 3, the set of jobs ,
,
, and are ready for processing on the processors from a release date of zero. Each processor must process the same subset of jobs as in Example 2. However, the orders for processing the same operations are opposite to the linear orders determined in Example 2. If the precedence constraints and are given between operations belonging to different jobs in Example 2, the inverse precedence constraints and must be given in Example 3 of the general shop scheduling problem . For Example 3, the due dates of the given jobs are defined as follows: .
Figure 3.
The colouring determining the optimal semiactive schedule for the unit-time problem .
The input data for Example 3 are given by the mixed graph presented in Figure 3. The set of vertices and the set of edges in the mixed graph are the same as those depicted in Figure 3 for the mixed graph .
Compare the mixed graph depicted in Figure 3 for the problem and the mixed graph depicted in Figure 2 for the problem By Theorems 6 and 7, for Example 3 of the general shop unit-time scheduling problem on the mixed graph , the optimal semiactive schedule is determined by the optimal colouring of mixed graph shown in Figure 3: , , , , , , , , , , .
The colouring defines the following optimal schedule for Example 3:
The optimal maximum lateness is equal to
5. An Optimal Schedule of Interruptible Operations with Integer Processing Times
We investigate the scheduling problem with integer release dates, positive integer operation durations, and allowed operation interruptions. In the three-field notation, indicates allowed preemptions of the operations and (, respectively) means that the operation durations (release dates of the jobs) are positive (non-negative) integers.
5.1. Partitions of the Interruptible Operations with Integer Duration into Unit-Time Operations
If interruptions of the operation are allowed, then a set of schedules is usually larger than a set of schedules of non-interruptible operations of the set . The larger set of schedules may complicate optimal scheduling []. Obviously, allowing interruptions of the operations from the set may decrease an optimal value of the objective function. Thus, for most scheduling problems, it is desirable to reduce the number of allowed interruptions of the operations without losing an optimal semiactive schedule.
Lemma 2.
If the release dates of the jobs are non-negative integers and the operations have positive integer durations , then there exists an optimal semiactive schedule such that interruptions in processing operations occur only at the integer times.
Proof.
The interruption of the operation can reduce the value of a regular objective function in the semiactive schedule without interruptions only if the interruption is at a completion time of at least one operation . In fact, due to such interruption of the operation processed on the processor , another operation with can start its processing on the same processor , since this processor becomes free.
Since the release dates of the given jobs are non-negative integers and operations have positive integer durations, in any semiactive schedule without operation interruptions, the realisation of each operation can be completed only at integer times. Lemma is proven. □
Due to Lemma 2, operations with positive integer durations can be partitioned into unit-time operations. We denote these unit-time operations as follows: . Let be a set of all unit-time operations generated by similar partitioning the operation . Similarly, we partition operations into unit-time operations and assign sequential indexes to the generated unit-time operations.
Continuing the above partitioning procedure of operations from set with integer durations, we generate the following set of unit-time operations:
The generated unit-time operations will be ordered as follows: within any feasible schedule; see Lemma 2.
Remark 2.
We represent all unit-time operations generated by the above partition of operations as vertices in the mixed graph . Here and elsewhere, the generated unit-time operations are linearly ordered in the ascending order of their indexes. For each job , the unit-time operations generated by the above partitioning procedure of the integer-time operations will be fulfilled in the ascending order of their indexes in any semiactive schedule.
We continue with the generated unit-time operation by sequentially indexing the generated unit-time operations into which integer-time operations from set contained in the job are partitioned. Thus, we obtain the following set of the unit-time operations:
of the linearly ordered unit-time operations generated from integer-time operations of job ; see Remark 2. Using the above partitioning technique, we index the unit-time operations of the jobs in set in the increasing order of job indexes and indexes of all generated unit-time operations. At the end of this partitioning process, for operations with integer job durations , the following set is obtained:
of the ordered unit-time operations generated by the integer-time operations belonging to the job . All jobs from the set will be processed based on Remark 2 applied to the set of all generated unit-time operations. Furthermore, for each job , the unit-time operations of the set generated by the above partitioning procedure applied to the integer-time operations of the set are fulfilled in increasing order of their indexes during the realisation of each semiactive schedule.
5.2. Relationships between Scheduling Problems and Optimal Mixed Graph Colourings
We next prove Theorem 8, which generalizes Theorem 5 to the problem of constructing an optimal schedule for fulfilling jobs with integer release dates and positive durations of the operations with allowed interruptions.
Theorem 8.
Every solvable scheduling problem pseudo-polynomially reduces to a problem of constructing an optimal colouring of vertices of the mixed graph . For every colourable mixed graph , there exists a scheduling problem on the mixed graph , which is equivalent to the problem of finding the optimal colouring of vertices of the same mixed graph .
Proof.
We consider arbitrary solvable scheduling problem of constructing a makespan-optimal schedule for fulfilling jobs by the available dedicated processors . We show how to construct the mixed graph such that optimal colouring defines a solution to the problem
Due to Lemma 2, there exists an optimal semiactive schedule such that interruptions in the operations (if any) occur only at the integer time moments. Thus, to construct the mixed graph , we will determine a set of unit-time operations
generated by the above partitioning of the integer-time operations belonging to jobs into the unit-time tasks sequentially, as shown in Section 5.1. The Formula (5) determines the set of the unit-time tasks generated by integer-time tasks belonging to a job .
The Formula (6) determines the set of the unit-time tasks generated by the integer-time tasks belonging to the job .
Similar formulas for sets of the integer-time tasks sequentially determine sets , respectively, of the generated unit-time tasks.
Finally, the Formula (7) determines the set of the unit-time tasks generated by the integer-time tasks belonging to the last job .
The above partitioning(see Section 5.1) of the integer-time tasks into the unit-time tasks determines a subgraph with an empty set of arcs and an empty set of edges in the indicated mixed graph , where . Based on Remark 2, every job consisting of the ordered set of the integer-time tasks is partitioned into the linearly ordered set of the unit-time tasks of the following form: .
In any semiactive schedule, the unit-time tasks have to be executed in ascending order of indexes of the unit-time tasks ; see Remark 2. By Definition 1, the desired mixed graph must contain the set of arcs and the following set of edges: .
The sets of arcs and edges will determine the linear order for the execution of the unit-time tasks from set when implementing any semiactive schedule for the problem ; see Remark 2.
Thus, we constructed a subgraph of the desired mixed graph where inclusion holds. For every processor set of all integer-time tasks fulfilled by the processor defines set of unit-time tasks fulfilled by the processor . The cardinality of set is equal to the total processing time of the integer-time tasks for fulfilling all jobs in the set . So, the following equality holds:
Set is partitioned into subsets of the tasks with unit durations for fulfilling jobs , i.e., the equality holds, where and for each indices . As can be easily verified, the forbiddance to simultaneously execute every pair of the unit-time tasks of the set in a semiactive schedule is determined by the complete -partite subgraph of the mixed graph with the following set of vertices and the following edge set with the cardinality determined as follows:
Together with the precedence constraints determined above between tasks belonging to the same job , the input data for the problem may include the precedence constraints defined on the set of tasks, which belong to different jobs of the set . Let these precedence constraints be determined as follows:
Moreover, the following weak precedence constraints on the set of tasks, which belong to different jobs of the set , may also be determined:
According to Definition 1, we introduce the precedence constraints (10) by adding the set of the arcs and the set of the edges in the mixed graph .
To determine the weak precedence constraints (11), it is sufficient to add the following set of the arcs in the desired mixed graph . Let the input data for the scheduling problem include the subsets of the unit-time operations from the set such that operations of the subset must be executed simultaneously in any schedule, where . Therefore, the set of weak precedence constraints determined in (11) must contain the following subset:
It is clear that the above constructed set of the arcs must contain the following set of the arcs: = ; see Definition 1. We have constructed the arc set , the edge set and the vertex set , where each vertex determines the unit-time operation (task) generated by the operation from the set with integer durations. Thus, we have constructed the mixed graph , which is a subgraph of the desired mixed graph .
The input data for the considered solvable problem include also the non-negative integer release dates of the jobs , respectively. Therefore, for every job , the set of the vertices and the path whose length is equal to , are determined. We add all these vertices and arcs of the following paths: to subgraph of mixed graph .
We also add the edges of the following chains to subgraph of mixed graph . Let be a mixed graph generated by the mixed graph after adding all the vertices , all the arcs of paths and all the edges of chains .
Thus, we have constructed the desired mixed graph . For the constructed mixed graph, the following equality holds. Due to the above construction of the mixed graph, the precedence constraints defined on the set of tasks for the problem are determined by graph . The prohibition of simultaneously fulfilling every pair of unit-time tasks of the set in any semiactive schedule is determined by the complete -partite graph with the vertex set . The given release dates of the given jobs are defined by a subgraph of the constructed mixed graph .
As can be easily verified, the constructed mixed graph completely defines the input data of the considered scheduling problem . Hence, for the solvable general scheduling problem determined on mixed graph , there exists a semiactive schedule
which defines the colouring of the constructed mixed graph as follows: the equality holds for every vertex . It is clear that the optimal semiactive schedule that exists for the solvable scheduling problem on the mixed graph defines the optimal colouring of the constructed mixed graph .
Compare the form (1) of semiactive schedules existing for unit-time problems and the form (12) of semiactive schedules existing for problem with the aim to construct a makespan-optimal schedule for fulfilling jobs with the positive integer processing times of the operations , provided that operation interruptions are allowed. Along with the completion times of the given operations with integer processing times, the latter semiactive schedule must define the completion times of the unit-time operations generated by the above partitioning procedure of the operations with integer processing times. Due to the equalities (8) and (9), the described reduction of the general scheduling problem to the problem of finding the optimal colouring of the constructed mixed graph is pseudo-polynomial.
The proof of the first part of Theorem 8 is completed.
It should be noted that an optimal semiactive schedule existing for the problem with positive integer durations of all given operations, integer non-negative release dates of the given jobs, and allowed operation interruptions can be obtained from the optimal semiactive schedule existing for the unit-time scheduling problem , and vice versa. Indeed, if the integer-time operations are partitioned into the unit-time operations based on the above partitioning procedure described in Section 5.1 (see Lemma 2 and Remark 2), the operation interruptions of the set cannot reduce the value for the optimal semiactive schedule. Thus, the possibilities of interrupting the operations in the scheduling problem can be ignored when constructing a makespan-optimal semiactive schedule that exists for the considered scheduling problem.
Hence, the problem can be solved as a special case of the unit-time scheduling problem ; see Section 4.1. Therefore, the proof of the second part of Theorem 8 follows directly from the second part of Theorem 6. Theorem 8 is proved. □
6. Example 4 of General Scheduling Problem with Interruptible Operations
To illustrate Theorem 8, we describe Example 4 of solvable scheduling problem with a set of jobs , seven dedicated processors , integer release dates integer processing times of the multi-processor tasks, two types of the precedence constraints between operations, and allowed interruptions of the integer-time operations.
Example 4.
The main part of the input data for Example 4 is presented in Table 1. Other input data for Example 4 will be determined after constructing a mixed graph with a set of the vertices corresponding to unit-time operations generated by partitioning the integer-time operations based on Remark 2.
Table 1.
A main part of the input data for Example 4.
Using the constructive proof of the first part of Theorem 8, we next show how to construct the mixed graph determining the input data of Example 4. Based on Lemma 2, we first partition the integer-time operations into operations with unit durations. Similarly, we partition the integer-time operations into operations with unit durations. Then, we partition the integer-time operations into operations with unit durations. Finally, we partition the operations of the last job into the operations with unit durations. As a result, we construct the following set of operations: with unit durations generated from the integer-time operations of four given jobs .
Due to Remark 2 and Definition 1, the mixed graph contains a set of arcs and a set of edges that determine the linear order of the operations of the set in the semiactive schedule that exists for Example 4. The set of arcs and the set of edges must be constructed for each job Thus, we have constructed a subgraph of mixed graph with inclusion ; see Figure 4, where the desired mixed graph is depicted.
Figure 4.
The mixed graph defining input data for Example 4 of the problem .
For each processor the operation set defines the set of operations with unit durations to be executed on that processor . The cardinality of set is equal to the total processing time of the integer-time operations for fulfilling a set of the jobs . Based on the Formula (8), we calculate these cardinalities as follows:
The prohibition of simultaneously executing each pair of unit-time operations of set on the processor in any semiactive schedule is determined by the complete -partite subgraph with vertex set as parts in the -partite subgraph and edge set , .
Based on the Formula (9), we calculate the cardinalities as follows:
It is clear that, due to the 4-partite graph , it is forbidden to simultaneously fulfill a pair of the operations of set on the processor . Due to the tripartite graph , it is forbidden to simultaneously fulfill a pair of operations from the on the processor . Due to the bipartite graph , it is forbidden to simultaneously fulfill a pair of the operations of set on the processor . Due to the bipartite graph , it is forbidden to simultaneously fulfill a pair of the operations of set on the processor . Due to the bipartite graph , it is forbidden to simultaneously fulfill a pair of the operations of set on the processor . Due to the bipartite graph , it is forbidden to simultaneously fulfill a pair of the operations of set on the processor . Due to the bipartite graph , it is forbidden to simultaneously fulfill a pair of the operations of set on the processor .
Let precedence constraints determined on a set of operations belonging to different jobs in Example 4 be given as follows: . Let the weak precedence constraints in Example 4 be given as follows: .
To include the precedence constraints in the input data of Example 4, we add the set of arcs and the edge set to the mixed graph . To include weak precedence constraints in the input data of Example 4, we add the arc set to the mixed graph . We see that set of arcs determines circuit in the directed graph . Therefore, unit-time operations of set have to be simultaneously fulfilled.
Let the following release dates of the jobs be given as a part of the input data of Example 4: , , .
Release date of the job is determined by the union of path in the directed graph and chain in the subgraph of the mixed graph . Release date is presented by the union of path in the directed graph and chain in the subgraph of the desired mixed graph . Release date of the job is presented by the union of arc in the directed graph and edge in the subgraph of the desired mixed graph . Release date of the job is presented by the union of path in the directed graph and chain in the subgraph of the desired mixed graph . Now, the desired mixed graph is constructed. Figure 4 presents the constructed mixed graph determining the whole input data for Example 4 of the problem with four jobs and seven dedicated processors .
Due to Theorem 8, a solvable problem (like Example 4) reduces to determining optimal colouring . An existing semiactive schedule for the scheduling problem with possible interruptions of the operations is determined by set (12) of completion times of the unit-time operations of set . The semiactive schedule is determined by the colouring of the mixed graph , in which the equality holds for the vertices The makespan-optimal semiactive schedule that exists for Example 4 is determined by the optimal colouring , where To show that the colouring is optimal, we next prove the inequality .
In the mixed graph depicted in Figure 4, there is a path in the directed subgraph and a chain in the subgraph . Therefore, a minimal colour of the vertex is not less than 9, and the minimal colour of the vertex is not less than 10; . In mixed graph , there is a path in the directed subgraph and a chain in the subgraph . Therefore, a minimal colour of the vertex is not less than 6; . However, we see that the minimal colour of the vertex cannot be equal to 6, 7, 8 and 9, because the following four inclusions hold: , , , . There is a path in the directed subgraph and a chain in the subgraph . Thus, a minimal possible colour of the vertex is not less than 10, i.e., the inequality holds. Hence, the minimal possible colour of the vertex is not less than 11 because of the inclusions and . The inequality holds, so the constructed colouring is optimal. We obtain the optimal semiactive schedule such that equality holds for each vertex
7. Minimising the Schedule Length for Interruptible Integer-Time Operations with Integer Release Dates and Equivalent Minimisation of the Maximal Lateness
We next show that finding a makespan-optimal schedule for the general scheduling problem with integer release dates and interruptible integer-time operations is similar to finding the optimal schedule for the problem with integer due dates , , and interruptible integer-time operations .
Theorem 9.
Every solvable scheduling problem with integer release dates , , and interruptible integer-time operations , is equivalent to the solvable scheduling problem with integer due dates , , and interruptible integer-time operations , .
Proof.
The problem was considered in Theorem 8. The proof of Theorem 8 showed how to construct a mixed graph that completely determines the input data for a solvable scheduling problem . Since the considered scheduling problem is solvable, this mixed graph must be colourable according to Theorem 4 and Theorem 8. From Theorem 1 it follows that the directed graph does not have a circuit containing adjacent vertices in the graph .
For the given scheduling problem on the above mixed graph , we will show how to construct the corresponding problem , where due dates are integer for all jobs , operations have integer durations for all jobs , and interruptions are allowed for all operations.
In the corresponding problem , jobs have a release date of zero , . Jobs have to be processed by the same set of the dedicated processors. We assume that in the general scheduling problem , each processor must process the same set of the jobs as in the general problem considered in Section 5 and Section 6.
In the corresponding problem , integer due date is given for every job as follows: .
Let us define a strict order for processing the operations . It is clear that this strict order is opposite to the strict order determined for the corresponding problem for processing integer-time operations .
If the precedence constraints and the weak precedence constraints are defined on the set of operations belonging to different jobs in the corresponding problem , then the inverse precedence constraint and the inverse weak precedence constraints have to be given for the problem .
It follows from Theorem 8 that the optimal semiactive schedule for the roblem determined by the mixed graph can be defined by the optimal colouring . This colouring also defines an optimal semiactive schedule for the problem . It is clear that the optimal maximal lateness may be determined as follows: Thus, we proved the following claim.
Every solvable scheduling problem with given integer release dates , , and integer durations of interruptible operations is equivalent to the scheduling problem with integer due dates , , and integer durations of the interruptible operations .
Obviously, the above arguments are reversible. This allows us to prove the following claim in a similar way.
Every solvable scheduling problem with given integer due dates , , and integer durations of the interruptible operations , is equivalent to the scheduling problem with given integer release dates and integer durations of the interruptible operations .
Theorem 9 is proved. □
The following corollary follows directly from Theorem 8 and Theorem 9.
Corollary 3.
If the job due dates and durations of operations , are integers for the solvable scheduling problem , then an semiactive optimal schedule for this problem is presentable as an optimal colouring of vertices of the mixed graph that determines the input data of this scheduling problem.
To illustrate Theorem 9 and Corollary 3, we solve Example 5 of the problem with four jobs , seven dedicated processors , integer due dates integer processing times of the multi-processor operations, precedence constraints between operations of different and the same jobs, and allowed interruptions of the integer-time operations.
Example 5.
In Example 5 of the scheduling problem on the mixed graph depicted in Figure 5, the set of jobs
and are ready for processing on set of the dedicated processors from time zero . Each processor must process the same subset of the jobs as in Example 4. However, the orders for fulfilling the same set of operations are opposite to the linear orders determined in Example 4.
Figure 5.
Mixed graph determining Example 5 of the problem .
While the precedence constraints and are determined between operations different jobs in Example 4, the inverse precedence constraints and are determined in Example 5 of the scheduling problem . Thus, in Example 5, the due dates of the given set of jobs are defined as follows:
The input data for Example 5 are determined by the mixed graph depicted in Figure 5. Set of the vertices and set of the edges in the mixed graph are the same as those in the mixed graph presented in Figure 4.
Compare mixed graph depicted in Figure 5 for scheduling problem with mixed graph for scheduling problem depicted in Figure 4. According to Theorem 9 and Corollary 3, for Example 5 of the scheduling problem on the mixed graph , the optimal semiactive schedule is determined by the following optimal colouring : , , , , , , , , ,
The colouring determines the optimal semiactive schedule:
We compute the optimal objective value as follows:
8. Discussion
This research is a continuation of the works [,,,,,,,,,,,,,,], where graph colouring models and algorithms were developed for solving various scheduling problems. The developed method is based on graph-theoretic models for scheduling problems. We have studied relationships between optimal colourings of the mixed graphs and general scheduling problems and . In both investigated scheduling problems, it is necessary to construct optimal schedules for fulfilling partially ordered sets of integer-time multi-processor tasks with allowed operation interruptions. Precedence constraints of the two types of completion–start and start–start can be given on the set of integer-time operations. Furthermore, specified subsets of the operations with unit durations must be executed simultaneously.
The propositions proved in Section 4, Section 5, Section 6 and Section 7 can be used to construct mixed graphs for representing the entire input data of the numerous scheduling problems with interruptible integer-time operations. It is proven that to construct an optimal semiactive schedule for any studied scheduling problem, it is sufficient to determine the optimal colouring of the vertices of the mixed graph representing all input data of the considered scheduling problem.
It is also shown that notions of graph theory are quite sufficient for the formulation of the problems and , and a huge number of their special cases. To illustrate the obvious benefits of using graph theory terminology instead of terminology of scheduling theory, we list the scheduling terms used in Section 1, Section 2, Section 3, Section 4, Section 5, Section 6 and Section 7: processing system (multi-stage); production planning (scheduling); job-shop, general shop; equipment, machine, processor; schedule (semiactive, feasible, optimal); schedule optimality criterion (makespan, maximal lateness,; production cost); manufacture; raw material; final product; job (simple, first, second, last) task; release date (equal, integer); input data; planning horizon; schedule length; operation (multi-processor, interruptible); (allowed) interruption, preemption; machine route, (first, last) operation; operation duration (unit, integer), operation order (linear, strict); operation assignment to machine; simultaneous execution of operations; fulfill; process; ready for processing; (operation, job, task) start; (operation, job, task) completion; (operation, task) interruption, schedule (makespan, length); three-field notation; capacity constraint; (week) precedence constraints (completion-start, start-start), unit-time operation (task), integer-time (operation, job, task) operation (task) processing time (duration), production conditions (efficiency), due date (integer).
To obtain and present the same results in notions of mixed graphs, only fewer terms were used, namely: vertex (incidental, adjacent); arc, edge (multiple); graph (finite, directed, mixed, k-partite, bipartite, tripartite, complete, colourable); digraph; (vertex-induced) subgraph, clique, connected component (graph); colouring (strict, optimal); vertex colour, chromatic number; loop; path, passing; chain (length); circuit.
In Section 5 and Section 7, we proved that every solvable problem of constructing an optimal colouring of the mixed graph reduces to problems and . Thus, for many of the statements proved so far for these scheduling problems and their various special cases, there are similar statements for the problems of defining optimal colourings of the vertices of the mixed graphs.
It is shown that each solvable problem (as well as the solvable problem ) pseudo-polynomially reduces to finding the optimal colouring of a mixed graph. It is worth noting that the pseudo-polynomiality of this reduction is based on the fact that all input data for both scheduling problems are determined by mixed graphs to be coloured for solving these scheduling problems. Therefore, it is unclear and probably impossible to find a polynomial reduction of these scheduling problems to mixed graph colouring problems.
The statements proved for finding optimal colourings of the mixed graphs [,,,,,,,,,,,,,] could be used for finding a solution of the NP-hard scheduling problems and . To apply the developed mixed graph colouring models, methods, and algorithms, solvable scheduling problems must have positive integer processing times of the multi-processor tasks, non-negative integer release dates of all jobs for the schedule length minimisation (and non-negative integer due dates for the minimisation of the maximal lateness). It should be noted that there is no restriction on the mixed graphs for using the scheduling algorithms for constructing optimal colourings of vertices of the mixed graph.
The results presented and proved in this article can be considered as a substantiation of graph-theoretic methods for solving scheduling problems by reducing them to finding optimal colouring of mixed graphs, which determine the input data of scheduling problems. Conditions and limitations of an individual scheduling problem are determined by the corresponding mixed graph. For the individual scheduling problem, such a mixed graph is defined uniquely.
It should be noted that different scheduling problems and can be defined by the same mixed graph. Thus, the results proven for colourings of the particular mixed graph are applicable, as a rule, for a whole set of the scheduling problems or problems . In particular, most results presented and proven in this paper can be used for studying colourings of the specified classes of mixed graphs, which are generated by the scheduling problems and . This can help attract graph theorists to solve the multistage scheduling problems and their numerous special cases.
9. Conclusions
This paper presents efficient reformulations of a huge number of scheduling problems into mixed graph colouring ones. Section 1, Section 2 and Section 3 provide an overview of the preliminary results used in the proofs of the new results presented in Section 4, Section 5, Section 6, Section 7 and Section 8. We studied the optimal scheduling of a partially ordered set of multi-processor tasks with allowed interruptions as optimal colourings of the vertices of the corresponding mixed graphs. We proved that the problem of optimal colouring of vertices of an arbitrary mixed graph reduces to the problem of constructing schedules that minimise a maximal lateness for processing partially ordered sets of multi-processor tasks with integer durations, integer due dates and allowed interruptions. We also proved the inverse statements that problems of constructing schedules minimising a maximal lateness for fulfilling partially ordered sets of multi-processor tasks pseudo-polynomially reduce to problems of optimally coloring the vertices of the mixed graphs, which determines all input data of the considered scheduling problems.
The established relationship between the generalisations of scheduling problems and problems of finding an optimal colouring of the vertices of mixed graphs presented in the article makes it possible to solve any solvable problems and , as well as numerous special cases of these problems in terms of graph theory, and not to use the special terms of schedule theory, which are related to the practical production planning problems. It turned out that the terms of graph theory are quite enough to formulate any problem or , and for the development of algorithms for solving problems of schedule theory as a result of the search for optimal coloring of the mixed graphs that determine the input data of scheduling problems.
The presented and generalised theorems and results (Section 1, Section 2 and Section 3) and new results proved in Section 4, Section 5, Section 6 and Section 7 allow making scheduling theory more abstract due to the possibility to use abstract models, effective methods and algorithms for optimal colouring the vertices of the mixed graphs for solving most scheduling problems with bottleneck objectives. Such investigations of the relationships between optimisation problems of scheduling theory and those of graph theory may be continued further.
Future research directions may be oriented towards developing mixed graph colouring models and algorithms suitable for solving scheduling problems with other regular optimality criteria. In particular, non-bottleneck criteria are widely used in scheduling theory [,,,,,,,]. It should be noted that both criteria considered in this paper are bottleneck criteria. We plan to study other scheduling problems that are reducible or equivalent to colouring the vertices of the corresponding mixed graphs. A promising research may be aimed to usage of the mixed graph models for developing efficient algorithms for scheduling the cloud computations. One could assume that durations of all tasks are integer and operation preemptions are allowed. Both studied objectives (schedule length and maximal lateness) may be considered for cloud computations.
We plan to study other classes of the multistage scheduling problems that are equivalent to problems of optimal colorings of vertices of the mixed graphs. We plan also to consider polynomially solvable multistage scheduling problems, which will allow us to discover polynomially solvable cases of the problem of finding optimal colourings of the specific mixed graphs .
Author Contributions
Conceptualisation, Y.N.S.; methodology, Y.N.S.; validation, E.I.M.; formal analysis, E.I.M.; investigation, E.I.M. and Y.N.S.; data curation, E.I.M.; writing—original draft, Y.N.S.; writing—review and editing, Y.N.S.; visualisation, E.I.M. All authors have read and agreed to the published version of the manuscript.
Funding
The research of Y.S. was funded by Belarusian Republican Foundation for Fundamental Research, grant number Φ23PHΦ-017.
Data Availability Statement
The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
Example A1.
The individual problem determined by mixed graph is analogous to Example 1 of a job-shop unit-time problem , with the exception that there are given start-start constraints and completion-start constraints on the set of operations of different jobs of set . All the additional constraints are determined as follows: ; ; ; and . Thus, the appropriate mixed graph has to contain an additional subset of arcs and subset set of edges defined as follows:
Note that the operations , and have to be fulfilled simultaneously in ever schedule since circuit exists in digraph , which is a subgraph of the mixed graph dipicted in Figure A1. At the right side of Figure A1, the colors of coloring are presented instead of the natural numbers: , . The colouring is optimal, , since directed graph contains path and graph contains chain , whose lengths are equal to 5.
Figure A1.
Mixed graph that determines Example A1 of the scheduling problem .
Due to these path and chain, the following inequality holds: . From Theorem 3, it follows that the optimal colouring defines the following schedule that is optimal for Example A1 of the unit-time problem , where the input data are determined by mixed graph depicted in Figure A1.
The correspondence of the operations and the vertices is determined based on Remark 1. The equalities hold due to Theorem 3.
Appendix B
Example A2.
In Example A2, the set of jobs is the same as in Example 1 and Example A1. The set of processors is increased from four processors in Examples 1 and Example A1 to nine processors in Example A2:
The processor processes the operations = . In Figure A2, the forbiddance to process the operations from the set simultaneously on the processor is determined by the edge in the graph . The processor processes the operations = . The forbiddance to process the operations from the set simultaneously on the processor is determined by the edge .
Similarly, the forbiddance to process operations from the set = simultaneously on the processor is determined by the edge . The forbiddance to process this pair of operations from the set = simultaneously on the processor is determined by the edge in the graph . The forbiddance to process operations from the set = simultaneously on the processor is determined by the edge . The forbiddance to process the operations from the set = simultaneously on the processor is determined by the edge . The forbiddance to process the operations from the set = simultaneously on the processor is determined by the edge . The forbiddance to process the operations from the set = simultaneously is determined by the edge . The forbiddance to process the operations from the set = simultaneously on processor is determined by the edge . The processors, which are used to process the operation , are presented near the vertex in Figure A2. The precedence constraints established between operations of different jobs are given as follows: ; ; ; ; ; ; ; . These precedence constraints are represented by seven arcs and two edges .
The digraph has one circuit and this circuit has no adjacent vertices in the graph . Since the digraph has no circuit with adjacent vertices in the graph , there exists a schedule for Example A2 of the general unit-time problem that is completely determined by the mixed graph ; see Theorem 4. We construct the following colouring of the mixed graph : , . The colouring is optimal, , since the directed graph contains the path and the subgraph of the mixed graph contains the chain , whose lengths are equal to 6. Because of this path and chain, the inequality holds. By Theorem 5, the optimal colouring defines the optimal semiactive schedule (1) for Example A2 of the unit-time problem , whose input data is determined by the mixed graph depicted in Figure A2. Based on Remark 1 about the correspondence of operations and vertices , we obtain the following makespan-optimal semiactive schedule:
Figure A2.
Mixed graph that defines the input data for Example A2.
By Theorem 5, the equality must hold.
Note that Theorem 5 is only valid for colourable mixed graphs. For example, if the precedence constraint is added to the input data of Example A2, we obtain the following mixed graph: . The obtained mixed graph becomes un-colourable due to the existence of a circuit such that the vertices and are adjacent in the graph , which is a subgraph of the mixed graph ; see Theorem 1. Therefore, the modified Example A2 (with the additional precedence constraint ) has no feasible schedule due to Theorem 4.
References
- Sotskov, Y.N.; Dolgui, A.; Werner, F. Mixed graph coloring for unit-time job-shop scheduling. Int. J. Math. Algorithms 2001, 2, 289–323. [Google Scholar]
- Sotskov, Y.N.; Tanaev, V.S.; Werner, F. Scheduling problems and mixed graph colorings. Optimization 2002, 51, 597–624. [Google Scholar]
- Sotskov, Y.N.; Tanaev, V.S. A chromatic polynomial of a mixed graph. Vestsi Akad. Navuk BSSR Ser. Fiz. Mat. Navuk 1976, 6, 20–23. (In Russian) [Google Scholar]
- Karp, R.M. Reducibility among combinatorial problems. In Complexity of Computer Computations; Miller, R.E., Thatcher, J.W., Eds.; Plenum Press: New York, NY, USA, 1972; pp. 85–103. [Google Scholar]
- Brucker, P. Scheduling Algorithms; Springer: Berlin, Germany, 1995. [Google Scholar]
- Harary, F. Graph Theory; Reading; Addison-Wesley: Boston, MA, USA, 1969. [Google Scholar]
- Thulasiraman, K.; Swamy, M.N.S. Graphs: Theory and Algorithms; John Wiley & Sons, Inc.: Toronto, ON, Canada, 1992. [Google Scholar]
- Hansen, P.; Kuplinsky, J.; de Werra, D. Mixed graph colorings. Math. Methods Oper. Res. 1997, 45, 145–160. [Google Scholar] [CrossRef]
- Sotskov, Y.N. Mixed graph colouring as scheduling multi-processor tasks with equal processing times. J. Belarusian State Univ. Math. Inform. 2021, 2, 67–81. [Google Scholar] [CrossRef]
- Giaro, K.; Kubale, M.; Obszarski, P. A graph coloring approach to scheduling of multiprocessor tasks on dedicated machines with availability constraints. Discret. Appl. Math. 2009, 157, 3625–3630. [Google Scholar] [CrossRef]
- Hoogeveen, J.A.; Lenstra, J.K.; Veltman, B. Preemptive scheduling in a two-stage multiprocessor flow shop is NP-hard. Eur. J. Oper. Res. 1996, 89, 172–175. [Google Scholar] [CrossRef]
- Sotskov, Y.N.; Mihova, E.I. Scheduling multiprocessor tasks with equal processing times as a mixed graph coloring problem. Algorithms 2021, 14, 246. [Google Scholar] [CrossRef]
- De Werra, D. Restricted coloring models for timetabling. Discret. Math. 1997, 165/166, 161–170. [Google Scholar] [CrossRef]
- De Werra, D. On a multiconstrained model for chromatic scheduling. Discret. Appl. Math. 1999, 94, 171–180. [Google Scholar] [CrossRef]
- Damaschke, P. Parameterized mixed graph coloring. J. Comb. Optim. 2019, 38, 326–374. [Google Scholar] [CrossRef]
- Kouider, A.; Ait Haddadne, H.; Ourari, S.; Oulamara, A. Mixed graph coloring for unit-time scheduling. Int. J. Prod. Res. 2017, 55, 1720–1729. [Google Scholar] [CrossRef]
- Kouider, A.; Ait Haddadene, H.; Oulamara, A. On minimization of memory usage in branch-and-bound algorithm for the mixed graph coloring: Application to the unit-time job shop scheduling. Comput. Oper. Res. 2019, 4967, 1001–1008. [Google Scholar]
- Kouider, A.; Ait Haddadne, H. A bi-objective branch-and-bound algorithm for the unit-time job shop scheduling: A mixed graph coloring approach. Comput. Oper. Res. 2021, 132, 105319. [Google Scholar] [CrossRef]
- Baaziz, A.; Haddadene, H.A.; Oulamara, A.; Kouider, A. Scheduling preemptive jobs on parallel machines with a conflict graph: A graph multi-colouring approach. Int. J. Math. Oper. Res. 2023, 25, 47–67. [Google Scholar] [CrossRef]
- Beck, M.; Blado, D.; Crawford, J.; Jean-Louis, T.; Young, M. On weak chromatic polynomials of mixed graphs. Graphs Comb. 2015, 31, 91–98. [Google Scholar] [CrossRef]
- Niu, D.; Liu, B.; Zhang, H.; Yin, M. Improving local search for the weighted sum coloring problem using the branch-and-bound algorithm. Knowl. Based Syst. 2022, 246, 108703. [Google Scholar] [CrossRef]
- Jacqueline, O.; Alden, M.; Golshan, M.; Seyedamirabbas, M. Graph-based modeling in shop scheduling problems: Review and extensions. Appl. Sci. 2021, 11, 4741. [Google Scholar] [CrossRef]
- Liang, P.; Fu, Y.; Gao, K. Multi-product disassembly line balancing optimization method for high disassembly profit and low energy consumption with noise pollution constraints. Eng. Appl. Artif. Intell. 2024, 130, 107721. [Google Scholar] [CrossRef]
- Fu, Y.; Zhou, M.; Guo, X.; Qi, L.; Gao, K.; Albeshri, A. A multiobjective scheduling of energy-efficient stochastic hybrid open shop with brain storm optimization and simulation evaluation. IEEE Trans. Syst. Man Cybern. Syst. 2024, 54, 4260–4272. [Google Scholar] [CrossRef]
- Fu, Y.; Ma, X.; Gao, K.; Li, Z.; Dong, Y. Multi-objective home health care routing and scheduling with sharing service via a problem-specific knowledge-based artificial bee colony algorithm. IEEE Trans. Intell. Transp. Syst. 2024, 25, 1706–1719. [Google Scholar] [CrossRef]
- Ma, X.; Fu, Y.; Gao, K.; Zhu, L.; Sadollah, A. A multi-objective scheduling and routing problem for home health care services via brain storm optimization. Complex Syst. Model. Simul. 2023, 3, 32–46. [Google Scholar] [CrossRef]
- Andrade, E.; Bonifácio, A.E.; Robbiano, M.; Rodríguez, J.; Tapia, K. Some families of integral mixed graphs. Linear Algebra Appl. 2022, 641, 48–66. [Google Scholar] [CrossRef]
- Mostafaie, T.; Modarres Khiyabani, F.; Navimipour, N.J. A systematic study on meta-heuristic approaches for solving the graph coloring problem. Comput. Oper. Res. 2020, 120, 104850. [Google Scholar] [CrossRef]
- Balakrishnan, S.; Suresh, T.; Marappan, R.; Venkatesan, R.; Sabri, A. New hybrid decentralized evolutionary approach for DIMACS challenge graph coloring & wireless network instances. Int. J. Cogn. Comput. Eng. 2023, 4, 259–265. [Google Scholar]
- Astuti, W.; Adiwijaya. Graph coloring based on evolutionary algorithms to support data hiding scheme on medical images. Procedia Comput. Sci. 2015, 74, 173–177. [Google Scholar] [CrossRef]
- Agrawal, J.; Agrawal, S. Acceleration based particle swarm optimization for graph coloring problem. Procedia Comput. Sci. 2015, 60, 714–721. [Google Scholar] [CrossRef]
- Assi, M.; Halawi, B.; Haraty, R.A. Genetic algorithm analysis using the graph coloring method for solving the university timetable problem. Procedia Comput. Sci. 2018, 126, 899–906. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).