Determine schedule that obtains maximum amount of profit

Assignment Help Data Structure & Algorithms
Reference no: EM1350206

Q1) Assume you have one machine and a set of n jobs a1, a2, ..., an to process on that machine. Each job aj has an integer processing time tj, a profit pj and an integer 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 a dynamic programming algorithm to find the schedule that obtains the maximum amount of profit. What is the running time of your algorithm?

Reference no: EM1350206

Questions Cloud

Compare the current and previous impact on shareholders : Currently a company has $1 million in 10 percent debt. The firm also has 50,000 shares outstanding that sell for $40 each. The company used the $1.0 million to repurchase stock.
Determine the speed vb of the spacecraft at point b : The total mechanical energy of the spacecraft, assume that the gravitational potential energy is zero at an infinite distance from the Earth.
Create class diagram for company has number of employees : Create a class diagram for following problem. A company has a number of employees. Attributes of employee include employeeID (primary key), name, address, and birthdate.
Determine the final speed of the more massive cart : A long, straight wire carries a 25.0 current. An electron is fired parallel to this wire with a speed of 280 in the same direction as the current, 2.30 from the wire.
Determine schedule that obtains maximum amount of profit : Assume you have one machine and a set of n jobs a1, a2, ..., an to process on that machine. Determine the schedule that obtains the maximum amount of profit. Compute the running time of your algorithm?
Current and future trends in financial services : Suppose if you were managing a small bank or insurance agency in your local community, what current and future trends in financial services & institutions would likely have the greatest impact on institution.
Which proposal would you favor : The regression results are presented on the next page. Based on this information, which proposal would you favor.
Determine how many proton-proton chain fusion cycles : A spaceship moves past you at speed v. You measure the ship to be 287 m long, whereas an astronaut on the ship measures a length of 380 m. Find out  v.
Describe the characteristics of the persuader : Who - Describe the Characteristics of the Persuader: What influences our ability to become persuaded by someone? What specific characteristics must this person possess?

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