Construct a schedule implementing the Johnson rule

Assignment Help Python Programming
Reference no: EM132267913

Problem 1 - Johnson's rule

Consider the following instance of the two machine flow shop with the makespan as objective (i.e., an instance of F2||Cmax), which is a special case of J2||Cmax)

Jobs

1

2

3

4

5

6

7

8

9

10

11

p1j

3

6

4

3

4

2

7

5

5

6

12

p2j

4

5

5

2

3

3

6

6

4

7

2

A) Write a python program to construct a schedule implementing the Johnson's rule.

B) Map out the solution of this problem on a Gantt chart and calculate the makespan.

Problem 2 - Tabu search

Write a python program to apply Tabu search to the following instance of F3|prmu, pij = pj|ΣwjTj with the following 4 jobs.

Jobs

1

2

3

4

pj

9

9

12

3

dj

10

8

5

28

wi

14

12

1

12

Choose as the neighbourhood all schedules that can be obtained through adjacent pairwise interchanges.

Start out with sequence 3, 1, 4, 2 (the starting sequence needs to be a parameter of the algorithm).

Keep the length to the Tabu list equal to 2 (this needs to be a parameter of the algorithm).

Problem 3 - Timetabling

Edmund, Graham, Kath and Sanja are university lecturers attending a conference. During this conference they have to attend in total 7 meetings. The table below contains the meetings that each of the lecturers has to attend. The field in the table contains 1 if the lecturer has to attend the meeting.

Meetings

1

2

3

4

5

6

7

Edmund

1

0

0

1

1

0

1

Graham

1

1

1

0

0

0

0

Kath

0

0

1

0

1

1

0

Sanja

1

0

1

1

1

0

0

Write a python program to formulate this problem as a graph coloring problem to schedule all seven meetings in a single afternoon between 2pm and 6pm so that the four lecturer can be present at all the meetings that he/she has to attend.

Implement the largest degree first heuristic and another heuristic of your choice to solve this problem. Give a brief description of the two heuristics and critically compare them.

Reference no: EM132267913

Questions Cloud

What factors should jack take into account : Jack White is the newly appointed general manager of the pet food division of Strickland Corporation. He has completed a strategic review that has convinced.
Performed incoming quality control inspections : In the past, Alpha Corporation has not performed incoming quality control inspections but has taken the word of its vendors.
Why has walmart invested in flipkart : Why has Walmart invested in flipkart? What is the advantage for Flipkart due to acquisition of Wallmart?
How you will continue a project after funding exhausted : Humn 6207 A sustainability plan explains to funders how you will continue a project after funding has been exhausted. Not only does this plan demonstrate.
Construct a schedule implementing the Johnson rule : Write a python program to construct a schedule implementing the Johnson's rule. Map out the solution of this problem on a Gantt chart and calculate the makespan
Did fred cutler act appropriately in trying to get al zink : What is your best guess as to what happened to the working relationship between Al Zink and Fred Cutler?
Code of ethics for a small business : Who can help me with a code of ethics for a small business explaining in detail how and why you believe these statements can shape and improve conduct
Discrimination in the workforce : List examples and how you would bypass any discrimination in the workforce.
Create a new piece of hardware or software : Create a new piece of hardware or software. Describe the device (or program) in detail providing a sketch of the device or software interface.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a function to convert celsius to fahrenheit

Write a 2-part program as follows: Write a function to convert Celsius to Fahrenheit. Write a function to convert Fahrenheit to Celsius.

  Q1if we knew all the ecological social and competitive

q1if we knew all the ecological social and competitive forces that regulate populations and in reality we couldnt what

  Write the python program to add two numbers

write the Python Program to Print Hello world? write the Python Program to Add Two Numbers? write the Python Program to Find the Square Root? write the Python Program to Calculate the Area of a Triangle.

  Compute the tax withholding for the employee

Compute the tax withholding for the employee by multiplying the total pay by the tax rate divided by 100. Store withholding in an appropriately-named variable.

  Assignment brief you are tasked with improving the code for

assignment brief you are tasked with improving the code for the haunted house game. please read the associated hand-out

  Creating a web application for an on-line videogame shop

CE219 Assignment - Creating a 3-tier web application for an on-line videogame shop. The application must be implemented in Python

  Write a program that has a conversation with the user

Assignment - Write a program that has a conversation with the user. The program must ask for both strings and numbers as input

  Create a simple rental car billing calculator

Your task for is create a simple rental car billing calculator. This script also emphasizes importance of using and modifying variables

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a python program to determine a given pattern appears

In this assignment, your goal is to write a python program to determine whether a given pattern appears in a data series

  Design and implement a python program which plays poker

The goal of this project is to gain practice with use of classes and creating functions. You will design and implement a Python program which plays simplified Texas Hold'em Poker.

  Plot the optimal solution on the x-axis

CSE 410 - AI: Homework - Plot the optimal solution on the X-axis and the two heuristics on the Y axis. Describe two heuristics for the slide problem

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd