Give algorithm to find schedule to obtain maximum profit

Assignment Help Data Structure & Algorithms
Reference no: EM1364152

Suppose you have one machine and a set of n jobs a1 , a2 , · · · , an to process on that machine. Each job aj has a processing time tj , a pro?t pj , and a deadline dj . The machine can process only one job at a time, and job aj must run uninterruptedly for tj consecutive time units. If job aj is completed by its deadline dj , you receive a profit pj , but if it is completed after its deadline, you receive a profit of 0. Give an algorithm to find the schedule that obtains the maximum amount of profit, assuming that all processing times are integers between 1 and n.

Reference no: EM1364152

Questions Cloud

Analysis of business simulations : Do an Internet search to identify the types of games and business simulations that are available. Select one and provide a description and an analysis of it. Discuss the learning content objectives.
Explain what does rawls mean by a veil of ignorance : Rawl's Veil of Ignorance in Social Justice - Explain what does Rawls mean by a veil of ignorance
Journals in developmental psychology : Using the University Library, browse through a number of articles from peer-reviewed journals in Developmental Psychology.
Illustrate what is the marginal cost of a shirt : A shirt company spends $1,000 per week on rent for its factory. Each shirt made at the factory requires $2 worth of cloth and $8 worth of labour and energy. Illustrate what is the marginal cost of a shirt.
Give algorithm to find schedule to obtain maximum profit : Give an algorithm to find the schedule that obtains the maximum amount of profit, assuming that all processing times are integers between 1 and n.
Interpersonal mastery - business realities : Find an engaging introduction regarding Leaders of the 21 st Century and the importance of utilizing Interpersonal Mastery in today's business working environment.
How long does it take for a person to radiate : how long does it take for a person to radiate. Calculate the time of flight.
Comparing the value of stock : Mr. Arthur recently bought a block of 100 shares of Bingham Company common stock for $6,000. The stock is expected to provide an annual cash flow of dividends of $400 indefinitely.
Alternative strategies-chronic pains : What alternative strategies would you recommend to older patients who do have chronic pains (e.g., back pains, arthritis pains, headaches, pains from cancer)?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Polynomial time algorithm for rooted directed acyclic graphs

Illustrate that if you were given a polynomial time algorithm for determining whether two rooted directed acyclic graphs are isomorphic, then polynomial time algorithm for testing.

  Implement a queue as a circular array

Implement a queue as a circular array as follows: Use two index variables head and tail that contain the index of the next element to be removed and the next element to be added.

  Implement algorithm for evaluation of arithmetic expression

Implement the following algorithm for the evaluation of arithmetic expressions. Each operator has a precedence. The + and - operators have the lowest precedence.

  Design algorithm to read a file of employee records

Design an algorithm and souce code C++ that will read a file of employee records and produce a weekly report of gross earnings for those employees.

  Algorithm to minimize average difference between height

The problem is to assign each skier a ski to minimize the average difference between height of a skier and his/her ski. Give pseudocode and write its asymptotic running time.

  List of common data structures

Make a list of some of the common data structures provided by C#. You should have a minimum of 4 different data types.

  Testing item in array of member using sequential search

Look up each test item in array of member items, by using sequential search. What is the worst-case running time of it. (asymptotically, in terms of n and k)?

  Calculate worst-case run-time complexity of algorithm

Calculate the worst-case run-time complexity of your algorithm and prove optimality of the solution it gives. Suppose that the road is a straight line with a western end and an eastern end.

  Find the minimum cost path from a designated node

Find the Minimum Cost Path from a designated start node to a designated destination node in a graph.

  Algorithm to decide flavor of ice cream

A group of ten people need to decide which one flavor of ice cream they will all order, out of three options. The algorithm can question and re-question the participants, and present the answers to the participants.

  What do you meant by an rfp

Select a specific category of vertical applications to investigate. Use the Internet and any other sources of information you might have to study some of the different products that are available in that category.

  Design algorithm to solve spectral assembly problem

Design an algorithm to solve the Spectral Assembly problem under the above conditions. Does the problem have a unique solution?

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