Write the identity for the opt value

Assignment Help Computer Engineering
Reference no: EM132188680

You are working on n different projects, but in m hours you are going on vacation.

Imagine that for each project i, you had a function fi that told you how happy the people paying for project i would be if out your m available hours you devoted 0 = x = m to project i.

Imagine further that each such function has maximum value at most s, corresponding to the project being fully finished (and thus the clients being perfectly happy).

Give a dynamic programming for determining the most happiness you can generate for your clients by splitting your m hours among the n projects.

• Because of book-keeping rules, you can't spend fractional hours on a project.

• The functions fi are non-decreasing, i.e., for every project i, if t1 = t2, then fi(t1) = fi(t2).

• The running time of your algorithm must be O(n amb s c ) for some fixed integers a, b, c = 0.

Solve using Dynamic Programming:

1) Write the identity for the OPT value.

2) Explain why the identity holds.

3) Describe data structure you will use to store OPT value for the subproblems and the order in which you will fill out the entries in your data structure.

4) In the problems you are asked to return the solution ( not just the value of the solution), state the additional information you record which will allow you to retrace your steps and report an optimal solution.

5) Bound the running time by the size of the data structure and the work per entry in it.

Reference no: EM132188680

Questions Cloud

Create a web page by using html to format text : Create a web page by using HTML to format text. Use basic elements and attributes in the creation of web pages.
How would i code this in the problem in python : You should demonstrate the following concepts: dictionaries, loops, decision logic, user input, and other concepts you feel are necessary.
How would be able to send an http response to java servlet : How would I be able to send an HTTP response to a java servlet and then have the java servlet write to a database?
What type of content may be included in your website : Describe your target audience by age, gender, socioeconomic characteristics, etc. What opportunity or issue is your website addressing?
Write the identity for the opt value : Give a dynamic programming for determining the most happiness you can generate for your clients by splitting your m hours among the n projects.
What software works with this : I am working on my midterm and we had to exchange images with texts hidden in them. I received a bmp.png file.
What baseline data do you need for this : There is a 20% chance that he will find a computer which has an active worm; in this case, nothing happens (whether the worm is active for one or two days).
Write the values of the words stored at the following memory : Write the values of the words stored at the following memory locations. Provide your answer in hexadecimal notation.
Explain the purpose of a tableadapter object : When working with VB application and a database you often will need to use a TableAdapter.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is a remote procedure call

What is a 'Remote Procedure Call (RPC)'? How a RPC is originated and what are the applications/examples of a RPC process?

  Prove that the dfs tree is a spanning tree of g

(a) Prove that the DFS tree is a spanning tree of G. (b) Recall that the DFS algorithm arbitrarily chooses an unvisited neighbor.

  What type of security mechanism are provided

What type of security mechanism(s) are provided when a person signs a form he has filled out to apply for a credit card?

  How many bits of random padding are needed

Why would we like to minimize the amount of random padding? How many bits of random padding are needed? Justify your an- swer.

  Compute both the mean and standard deviation

Write a program that computes and prints the mean and standard deviation of a list of integers x1 through xn. Assume that there will be no more than 50 input.

  Develop the pcs security program charter

As the new Chief Information Security Officer (CISO) for PostCyberSolutions (PCS) LLC you are developing a Security Program Plan for the Executive Board.

  You are to write a 6 - 8 page paper in the apa format

you are to write a 6 - 8 page paper in the apa format about a topic related to this course turn in the final copy of

  What hardening guidelines or standards are you familiar with

What hardening guidelines or standards are you familiar with? What steps have you taken to harden systems? What function do each of strategies discussed serve?

  What is a perfect decomposition

What is a perfect decomposition? Discuss differences in program replication techniques on mulcicomputers as opposed to program partitioning on multiprocessors.

  There is a common misconception that analog technology is

there is a common misconception that analog technology is no longer used in the transmission of digital data. however

  Build a flowchart to solve a simple payroll calculation

Build a flowchart to solve a simple payroll calculation. Find the amount of pay given, hours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.)

  Indicate the sequence of tracks visited and the total head

Suppose that the head of a disk with 256 tracks, numbered 0 to 255, is currently serving a request at track 58.

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