Write an identity for the opt value

Assignment Help Computer Engineering
Reference no: EM132118890

You're 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(nambsc) for some fixed integers a, b, c = 0.

For this problem:

1. Write an identity for the OPT value.

2. Explain why the idenity holds. Your explanation should appear self-evident.

3. Describe the data structure you will use to store the 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: EM132118890

Questions Cloud

What information do you need to carry out the proposal : You're called in to consult for a company that's issuing about 100 new wireless mobile devices to selected employees.
What is the recurrence for the running time : We're given an array of n numbers, A[1 · · · n] and want to add up the n numbers. What is the recurrence for the running time? Solve it.
Give an algorithm with polynomial running time to do this : Naturally, they're not sure that all these facts are correct; memories are not so good, and a lot of this was passed down by word of mouth.
Qualitative research and statistical analysis : Research question and is most appropriate in the specific circumstances. Students should clearly justify their recommended research and analysis methods
Write an identity for the opt value : Imagine further that each such function has maximum value at most s, corresponding to the project being fully finished.
What is the range of radio frequencies in technologies : What is the range of radio frequencies in wireless technologies? What are the pros and cons of the lowest and highest frequencies?
How are they similar and how are they different : Radio buttons and check boxes are two of many different kinds of components that can be included in a graphical user interface.
Describe the translation process for the first instruction : Describe the translation process for the first instruction fetch in a program. Define any variables you may need.
Analyze the local impact of computing on individuals : Analyze the local impact of computing on individuals. Analyze the local impact of computing on organizations and society.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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