Sequencing Problem: Johnsons Algorithm For N Jobs And Two Machines

Abhishek Dayal
0

 In the realm of operations management and scheduling, the sequencing problem is a critical challenge that industries face across various sectors. The sequencing problem involves arranging a set of tasks or jobs in a specific order to optimize certain criteria such as minimizing makespan, maximizing throughput, or reducing idle time. Among the various methods devised to tackle this problem, Johnson's algorithm stands out as a highly efficient solution, particularly for scenarios involving N jobs and two machines.


Table of Content (toc)


Understanding Johnson's Algorithm:

Johnson's algorithm is primarily designed to minimize the completion time, also known as the makespan, in situations where jobs need to be processed on two machines. It was developed by S.M. Johnson in 1954 and has since found widespread application in industries ranging from manufacturing and assembly lines to project management and logistics.


The Johnson's algorithm follows a systematic approach that involves the following steps:


Steps of Johnson's Algorithm by Study Terrain
Steps of Johnson's Algorithm 



Step 1: Identifying the Processing Times

Begin by gathering information on the processing times required for each job on both machines. This data forms the basis for further calculations.

Step 2: Constructing a Johnson Matrix

Next, construct a matrix where each row corresponds to a job, and each column represents one of the two machines. Populate this matrix with the processing times obtained in step 1.

Step 3: Determining the Johnson Sequence

By analyzing the Johnson matrix, identify the optimal sequence for processing the jobs on the two machines. This sequence is determined based on the minimum processing time at each stage.

Step 4: Implementing the Sequence

Once the Johnson sequence is established, execute the jobs on the two machines according to this order.


Example of Johnsons Algorithm For N Jobs And Two Machines:

Let's consider a practical example to illustrate Johnson's algorithm:

Suppose we have four jobs (A, B, C, D) that need to be processed on two machines (M1, M2). The processing times for each job on both machines are given in the table below:

Job

Machine 1

Machine 2

A

3

2

B

2

5

C

1

4

D

5

3

Following Johnson's algorithm:

Constructing the Johnson Matrix:

Job

Machine 1

Machine 2

A

3

2

B

2

5

C

1

4

D

5

3


Determining the Johnson Sequence:

By scanning each row of the Johnson matrix and selecting the machine with the minimum processing time, we can determine the optimal sequence as follows:

Johnson Sequence: C -> B -> A -> D

Implementing the Sequence:

Execute the jobs in the order specified by the Johnson sequence: C, B, A, D.



Advantages of Johnson's Algorithm:




Optimal Makespan: 

Johnson's algorithm guarantees an optimal solution for minimizing the makespan, which is crucial for efficient resource utilization and timely completion of tasks.


Efficiency: 

Compared to other scheduling algorithms, Johnson's algorithm is computationally efficient, making it suitable for real-time applications where quick decisions are necessary.


Flexibility: 

This algorithm can handle various types of scheduling problems, including those with different job characteristics, machine constraints, and processing times, providing flexibility in its application.


Deterministic Solution: 

Johnson's algorithm produces a deterministic solution, ensuring consistency and predictability in scheduling outcomes, which is essential for planning and decision-making purposes.


Ease of Implementation: 

The simplicity of Johnson's algorithm makes it relatively easy to understand and implement, requiring minimal computational resources and expertise.



Applications of Johnson's Algorithm:


Advantages of Johnson's Algorithm by Study Terrain
Advantages of Johnson's Algorithm



Manufacturing Industry: 

Johnson's algorithm is widely used in manufacturing industries to schedule production tasks on machines, ensuring optimal utilization of resources and minimizing production time.


Job Shop Scheduling: 

It finds application in job shop environments where a variety of jobs with different processing requirements need to be scheduled on available machines to maximize throughput.


Project Management: 

Johnson's algorithm is applied in project scheduling to sequence project activities, allocate resources efficiently, and minimize project completion time, thus improving project performance.


Supply Chain Management: 

In supply chain operations, Johnson's algorithm helps in scheduling manufacturing and transportation activities to streamline the flow of materials and products, reducing lead times and costs.


Healthcare Services: 

Johnson's algorithm is used in healthcare settings for scheduling surgeries, diagnostic tests, and patient appointments, ensuring efficient use of medical resources and minimizing patient waiting times.


For more content Visit KMBN 206

Tags

Post a Comment

0Comments

Post a Comment (0)