Describe data structure you will use to store opt value

Assignment Help Computer Engineering
Reference no: EM132188704

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

Questions Cloud

Predecessor relationships between tasks and resources : Suppose that we modified original table slightly to show following predecessor relationships between tasks and resources assigned to perform these activities
Simulation team competition begins : On Day 1 the Simulation Team Competition begins. Each team has completed a practice round, so should be familiar at how the simulation works.
Controversy or dispute for the party to seek legal advice : What is the principal reason that you felt that it was important at that point in the controversy or dispute for the party to seek legal advice?
Embrace diversity in friendships : Other recommendations are to learn a different language, embrace diversity in friendships, and to read and learn about other cultures.
Describe data structure you will use to store opt value : 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.
Why would an administrator choose to use multiple : Why would an administrator choose to use multiple Registration Authorities when processing certificate requests?
Explain what mutual exclusion means in this scenario : You are working as a software engineer and you developed a multi-threaded program that uses a single global array of integers.
The functionality offered by the rsa and diffie-hellman : Explain what the following are: root certificates, self-signed certificates. Describe how they are used.
Configure and stylize hyperlinks in web pages : This is the second phase of the website project. For this phase you will add a 4th page to your site, and this page must contain a table.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Determining stationary points of function

Determine the stationary points of function F(x)=2x_1^3-3x_1^2-6x_1 x_2 (x_1-x_2-1). Which points among these are local minima, which are local maxima, and which are neither?

  Describe one of the latest it security breaches

Write one paper to describe one of the latest IT security breaches/threats incidents that occurred lately this can be either internal or extenral threats

  Write code for the methods double-stack

Write code for the methods Double_stack( ), push_a( ), push_b( ), pop_a( ), and pop_b( ) to handle the two stacks within one Double_stack.

  Create a slide on security center of excellence

Create a slide of risk management. Create a slide on security center of excellence and security framework (Security lifecycle, disaster recovery).

  Discuss factors that affect international operations at ups

Describe the external factors that affect the international operations at UPS

  Write report on any relevant finding and your recommendation

Write a one-two page report on any relevant findings and your recommendation. Write a report explaining how to recover Orkty.zip for further investigation.

  Find the mflops figures for the processors

Assume that 40% of instructions executed on both P1 and P2 are floating-point instructions. Find the MFLOPS figures for the processors.

  Discuss the process of technology specification

Discuss the Process of Technology Specification. The response must be typed, single spaced, must be in times new roman font.

  Would it always be the result of one''s experience

How do you envision the ways program verification and performance tuning will be accomplished in the future? Will it still be a work of art? Will it always be the result of one's experience? Or do you forecast more and more automatic ways (algorit..

  Solve the system for the loop currents

Write a matrix equation that determines the loop currents. [M] If MATLAB or another matrix program is available, solve the system for the loop currents.

  Implementing different functions

Function celsius returns the Celsius equivalent of the Fahrenheit temperature utilizing the calculation C= 5.0/9.0 * (F-32);

  A program that reads a sentence as input and converts

Pig Latin Design a program that reads a sentence as input and converts each word to "Pig Latin."

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