Reference no: EM13307435
Some of your friends have recently graduated and started a small company, which they are currently running out of their parents' garages in Santa Clara. They're in the process of porting all their software from an old system to a new, revved-up system; and they're facing the following problem. They have a collection of n software applications, {1, 2,...., n}, running on their old system; and they'd like to port some of these to the new system. If they move application i to the new system, they expect a net (monetary) benefit of bi >= 0. The different software applications interact with one another; if applications i and j have extensive interaction, then the company will incur an expense if they move one of i or j to the new system but not both; let's denote this expense by xij >= 0.
So, if the situation were really this simple, your friend would just port all n applications, achieving a total benefit of Si bi. Unfortunately, there's a problem. Due to small but fundamental incompatibilities between the two systems, there's no way to port application 1 to the new system; it will have to remain on the old system. Nevertheless, it might still pay off to port some of the other applications, accruing the associated benefit and incurring the expense of the interaction between applications on different systems.
So this is the question they pose to you: Which of the remaining applications, if any, should be moved? Give a polynomial-time algorithm to find a subset S of {2, 3,..., n} for which the sum of the benefits minus expenses of moving the applications in S to the new system is maximized.
Write a phone book program
: When phone book enties are displayed all data members will be displayed. Create a friend function that overloads the
|
Calculate the work done and the heat transfer
: Calculate the work done and the heat transfer. Hint: Use the ideal gas law pv = RT to nd the temperature at the end of compression. Take R = 0.287 kJ/kg.K and cv = 0.718 kJ/kg.K.
|
Give a polynomial-time algorithm for the following problem
: Give a polynomial-time algorithm for the following problem. We are given a binary tree T = (V, E) with an even number of nodes, and a nonnegative weight on each edge.
|
Determine the centroid-moment of inertia and section modulus
: THE HOME DEPOT IN RED HOOK ,BROOKLYN IS LOOKING TO RENOVATE THEIR STEEL ROOF TRUSS.YOU HAVE BEEN ASKED TO DETERMINE THE CENTROID,MOMENT OF INERTIA,SECTION MODULUS AND RADIUS OF GYRATION OF THE DOUBLE ANGLE.
|
Give a polynomial-time algorithm to find a subset
: So this is the question they pose to you: Which of the remaining applications, if any, should be moved? Give a polynomial-time algorithm to find a subset S of {2, 3,..., n} for which the sum of the benefits minus expenses of moving the application..
|
What frequency is being played in this picture
: A pipe filled with natural gas [methane (CH4)] is punctured by a line of small holes 1.00 cm apart down its entire 2.2-m length. What frequency is being played in this picture
|
By what percentage does amplitude of oscillation decrease
: A 9.60 kg object oscillates at the end of a vertical spring that has a spring constant of 1.65*10^4 N/m. By what percentage does the amplitude of the oscillation decrease
|
What is the elongation of a rectangular bar to an axial load
: What is the elongation of a rectangular bar (cross section 2 inch * 2 inch length 4 ft) When it is subjected to an axial load of 80,000 lbs. Assume the material of the bar has the following properties G = 7,700 KSI, V =0.30
|
Find the effective emf and internal resistance
: Two batteries of emf and internal resistance e1,2 and r1,2 are connected in parallel. Find the effective emf and internal resistance
|