Algorithm-find schedule to obtain maximum amount of profit

Assignment Help Data Structure & Algorithms
Reference no: EM1366915

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: EM1366915

Questions Cloud

Observation of people with disabilities : Observe your immediate environment such as your community, workplace, school, etc and are you able to observe many people with disabilities
Determine the total two-year interest cost : Boatler Used Cadillac Corporation needs $80,000 in financing over the next 2-years. The company can borrow  funds for 2-years at 9% interest every year.
Computing minimum value of avc : Consider the price-taking firm in competitive industry for raw chocolate. The market demand and supply functions for raw chocolate are estimated to be
Explanation of core values and core values in action : Explain why might an organization really need core values? How might you really see core values "in action?
Algorithm-find schedule to obtain maximum amount of profit : Give an algorithm to find schedule which obtains maximum amount of profit, assuming that all processing times are integers between 1 and n.
Show the basic estimating problem : Your manager asks for the project costs by cost category as well as the total amount
Estimating supply and demand curve : Assume there are two services offered in economy: dance clubs and college education. Both require the use of limited resources, but not all of the resources used in each one can be readily transferred to the other.
Using a financial calculator for mortgage loans : Lucy wishes to buy a house and has approached a bank and been informed that a thirty year mortgage loan with monthly payments and compounding would have an APR of 5.4 percent.
Trade-offs academic medical center : Stanford Medical Center is a well-known and well-respected academic medical center. It has been approached by the government of Vietnam to develop an affiliation with its main national hospital in Saigon.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Evaluate the average complexity of an enqueue operation

Evaluate the average complexity of an enqueue operation. Determine the average complexity of the dequeue (remove) operation.

  Js code to prompt the user for integer and print result

Write JS code which prompt the user for an integer and prints the result.

  Explain eager decision tree algorithm-lazy knn algorithm

Discuss the advantages and disadvantages of the new algorithm compared with the eager decision tree algorithm, and the advantages and disadvantages of the new algorithm compared with the lazy kNN algorithm.

  Give time algorithm that outputs satisfying assignment

Find out  whether there is an assignment of true/false values to the literals such that at least a*m clauses will be true. Note that 3-SAT(1) is exactly the 3-SAT problem. Give an O(m*n)-time algorithm that outputs a satisfying assignment for 3-S..

  Survey of fault tolerance policy for load balancing scheme o

This paper investigates about fault-tolerance in load balancing schemes in distributed environment. There are some more parameters influencing QOS but our main focus is on fault tolerance and load balancing.

  Modify algorithm to always select president of company

How would you modify your algorithm to always select the president of the company (regardless of his fun rating or the consequences on the overall amount of fun we can achieve)?

  Simplify rsa cryptosystem using prime number

Assume we tried to simplify RSA cryptosystem using just prime p instead of composite modulus N = pq. As in RSA, we would have encryption exponent.

  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.

  Create an algorithm to produce list of customers

Create an algorithm to produce list of customers from Glad Rags Clothing Company's customer master file. Each record on customer master file contains the customer's number

  Find cost of sorting the relation

Suppose the cost of seek is 5milliseconds, while the disk transfer rate is 40 mgbytes per second. Find the cost of sorting the relation , in seconds, w/bb = 1 & w/ bb= 100.

  Recursive tree algorithms

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

  Calculate the size of the state space as a function of n

n vehicles occupy squares (1, 1) through ( n , 1) (i.e., the bottom row) of an n × n grid. The vehicles must be moved to the top row but in reverse order

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