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

  Discuss new security features in windows server

Which of the system changeover methods is the most expensive? Why? Which of the system changeover methods is the most risky? Why?

  C++ program to evaluate expressions combining set union

Create a C++ program to evaluate expressions combining set union, set intersection and parentheses

  Explaining view of header and footer areas of worksheet

In which view can you see header and footer areas of worksheet?

  Different applications of data structure

What are the different applications of Data Structure

  Implementation of graph

Give the two input nodes after the graph has been built from the command prompt.

  Algorithm for string of numbers recognize all the substrings

Write down algorithm, using pseudocode, to perform the following task, Given a string of numbers, recognize all of the substrings that form numbers that are divisible by 3.

  Algorithm-flow chart for people having computer experience

Write an algorithm and design a flow chart to determine all people who have computer experience.

  Describe sorting algorithm to be parsimonious

Describe a sorting algorithm to be parsimonious if it never compares same pair of input values twice. (Supose that all the values being sorted are distinct.).

  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.

  Describe sorting algorithms and how they work

Describe sorting algorithms and how they work

  Create a binary search tree program

Creating a Binary Search Tree program - Finding the largest and smallest values in the tree Add two class methods

  Data structures for a single algorithm

Data structures for a single algorithm

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