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 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 program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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