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

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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