Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 10: (10 points) A company perform real-time scheduling of jobs on multiple servers. Once a batch of n jobs arrives they need to

image text in transcribed

Question 10: (10 points) A company perform real-time scheduling of jobs on multiple servers. Once a batch of n jobs arrives they need to be allocated to servers. The company has two types of servers: mf fast servers and m, slow servers. Let m = mf+ms. Each job j takes time p; to process on a fast server, and time 3p; to process on a slow server. The goal is to minimize the makespan of the schedule. Currently, the company is using the following simple greedy algorithm (list scheduling) to schedule a batch of n jobs: Process the jobs in an arbitrary order. Assign the next job in the list to the server with smallest current load (if there is more than one server with smallest current load take the fastest). (a) (3 points) Give an example showing that algorithm the company uses does not get the optimal result. (b) (4 points) Prove that even though it is not optimal, this simple greedy algorithm is a 4-approximation algorithm. (c) (4 points) Try to find an a-approximation algorithm for the problem with a < 4. Remember to prove that your algorithm is an a-approximation algorithm, argue that it runs in polynomial time, returns a valid solution, and has an approximation factor at most a.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Law Business and Society

Authors: Tony McAdams

11th edition

78023866, 978-9814577311, 9814577316, 978-0078023866

More Books

Students also viewed these Accounting questions