Introduction to Algorithms
3rd Edition
ISBN: 9780262033848
Author: Thomas H. Cormen, Ronald L. Rivest, Charles E. Leiserson, Clifford Stein
Publisher: MIT Press
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 29.1, Problem 5E
Program Plan Intro
To determinethe slack form of given linear program.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
How:- Draw the following functions according to the
given Period.
1 X= e-x
0≤x≤10
2 Y = log (x)
oil ≤x≤10
3 y = log 10 (x) ; 1
Let S represent the amount of steel produced (in tons). Steel production is related to the amount of labor used (L) and the amount of capital used (C) by the following function:
S = 35L0.40 0.60
In this formula L represents the units of labor Input and C the units of capital input. Each unit of labor costs $150, and each unit of capital costs $200.
a. Formulate an optimization problem that will determine how much labor and capital are needed in order to produce 60,000 tons of steel at minimum cost. If the constant is "1" it must be entered in the box; if your answer is zero, enter "0".
Min
s.t.
L
C
L, C
b. Solve the optimization problem you formulated in part (a). Hint: Use the Multistart option as described in Appendix 8.1. Add lower and upper bound constraints of 0 and 5000 for both L and C before solving. Round your answers for L and C to three decimal places. Round your answer for optimal solution to one decimal place.
L=
and C=
for an optimal solution of $.
Please do…
Suppose that the total cost (in dollars) for a product is given by
C(x) = 1200 + 200 In(2x + 1)
where x is the number of units produced.
(a) Find the marginal cost MC function.
MC =
(b) Find the marginal cost when 200 units are produced. (Round your answer to the nearest cent.)
Interpret your result.
O The profit from the next unit will be approximately this amount.
This is the total profit from producing 200 units.
It will cost approximately this amount to make the next unit.
O This is the total cost of producing 200 units.
(c) Total cost functions always increase because producing more items costs more. What then must be true of the marginal cost function?
O MC S0
O MC > 0
MC < 0
MC 2 0
MC = 0
%3D
Does it apply in this problem?
O Yes
No
Chapter 29 Solutions
Introduction to Algorithms
Ch. 29.1 - Prob. 1ECh. 29.1 - Prob. 2ECh. 29.1 - Prob. 3ECh. 29.1 - Prob. 4ECh. 29.1 - Prob. 5ECh. 29.1 - Prob. 6ECh. 29.1 - Prob. 7ECh. 29.1 - Prob. 8ECh. 29.1 - Prob. 9ECh. 29.2 - Prob. 1E
Ch. 29.2 - Prob. 2ECh. 29.2 - Prob. 3ECh. 29.2 - Prob. 4ECh. 29.2 - Prob. 5ECh. 29.2 - Prob. 6ECh. 29.2 - Prob. 7ECh. 29.3 - Prob. 1ECh. 29.3 - Prob. 2ECh. 29.3 - Prob. 3ECh. 29.3 - Prob. 4ECh. 29.3 - Prob. 5ECh. 29.3 - Prob. 6ECh. 29.3 - Prob. 7ECh. 29.3 - Prob. 8ECh. 29.4 - Prob. 1ECh. 29.4 - Prob. 2ECh. 29.4 - Prob. 3ECh. 29.4 - Prob. 4ECh. 29.4 - Prob. 5ECh. 29.4 - Prob. 6ECh. 29.5 - Prob. 1ECh. 29.5 - Prob. 2ECh. 29.5 - Prob. 3ECh. 29.5 - Prob. 4ECh. 29.5 - Prob. 5ECh. 29.5 - Prob. 6ECh. 29.5 - Prob. 7ECh. 29.5 - Prob. 8ECh. 29.5 - Prob. 9ECh. 29 - Prob. 1PCh. 29 - Prob. 2PCh. 29 - Prob. 3PCh. 29 - Prob. 4PCh. 29 - Prob. 5P
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- 1. Prove the following formulas log X < X for all X > 0arrow_forwardEmployees of KB and SONS Consultants Limited are paid at an hourly basics of 25GHS per an hour for regular hours and 1.5 times per hour for overtime hours in a week. Any hour worked over 40 hours per week is overtime. The following national tax sliding scale is then applied to determine the amount of tax to be paid by an employee. GrossWage Tax Rate (%) First 125 0 Next 125 5 Next 1500 10 Next 2750 15 Next 1250 20 Excess over 5000 30 In addition 6% of an employee’s gross wage is withheld for Social Security, 3% is withheld as constituency tax and 20GHS is withheld by the employer as welfare contribution. If an employee has more than 3 dependants then an amount of 5GHS for each dependant in excess of three towards NHIS. You are required to write a program that compute a workers gross pay, the deductions and his/her net pay. Your program should allow details of the staff to be accept /input into the system for the necessary computations. Try using comments in explaining the flow of the…arrow_forward4:using numpy to solve the system of linear equations as following x,y,z are variables. 3x+6y+7z = 10 2x+y+8y = 11 x+3y+7z = 22arrow_forward
- Find the minimum of ƒ(x, y) = (y+3)² + (x − 2)² + (x y − 3)² Plot the function and display your solution. % Your code goes herearrow_forwardThe Mayfree Appliance Company requires sheet metal for its appliances. The company can purchase long coils of sheet metal in two different widths: 65 inches and 40 inches. The company must purchase the coils by linear foot of length: $1.20 per foot for a 64-inch coil and $1.00 per foot for a 40-inch coil. (This implies that a square foot, say, of the wider coil is less expensive.) Up to 4000 feet of the 65-inch coil is available, and up to 6000 feet of the 40-inch coil is available. There are manufacturing requirements for six different widths: 50, 45, 40, 35, 20, and 10 inches. Mayfree’s requirements are expressed as lengths of the various widths. The company requires 1000 feet of 50-inch width, 2500 feet of 45-inch width, 3000 feet of 40-inch width, 2300 feet of 35-inch width, 1300 feet of 20-inch width, and 2000 feet of 10-inch width. Determine how much of each width coil Mayfree should purchase and how it should cut the coils into various widths to meet its requirements at minimal…arrow_forwardThe initial tableau of a linear programming problem is given. Use the simplex method to solve the problem. X2 X3 6 2 1 2 - 1 - 3 X1 1 3 -5 S₁ 1 0 0 S2 0 1 0 Z 0 0 1 18 39 The maximum is | when x₁ = ₁X₂ = ₁ x3 =₁ $₁=₁ and $₂ = - X3 (Type integers or simplified fractions.)arrow_forward
- Information on morphine: Morphine can be administered via injection / IV. The quantity of morphine in a given dose may vary, but one guideline is to use 0.1 mg of morphine for each kg of the patient's body mass. The time taken for half the quantity of morphine to be removed from the body is 2 hours. An exponential function can be used to model the amount of morphine in the body over time: ?=?0???A=A0ekt (note that ?k will be negative). Calculate the value of ?k for morphine. Write a Python function called MorphineModel, which takes two arguments: dose amount ?0A0 and time since last dose ?t, and returns the amount of morphine in the body at this time ?t. Add to your computer code so that you have a program which is an implementation of the following flowchart. Ensure that your code is well-communicated to a user of the program (via the print statements) and well-communicated to someone reading the code (via comments).arrow_forwardit is often said 1 human-year is equivalent to 7 dog-years. however, this simple conversion fails to recognize that dogs reach adulthood in their end year of life. as a result the american kennel club suggests the following to calculate a dog's age in human-years. 15 human years are equivalent to the 1st year of a dog's life. a dog's 2nd year is equivalent to 9 human years. after a dog's 2nd year each human year is approximately 5 dogs years. please answer in python codingarrow_forwardAn investor has $621,000 to invest in bonds. Bond A yields an average of 8% and the bond B yields 7%. The investor requires that at least 5 times as much money be invested in bond A as in bond B. You must invest in these bonds to maximize his return. This can be set up as a linear programming problem. Introduce the decision variables: dollars invested in bond A dollars invested in bond B Compute . $ . Round to the NEAREST CENTarrow_forward
- using Python/PuLP solve Turkeyco produces two types of turkey cutlets for sale to fast-food restaurants. Each type of cutlet consists of white meat and dark meat. Cutlet 1 sells for $4/lb and must consist of at least 70% white meat. Cutlet 2 sells for $3/lb and must consist of at least 60% white meat. At most, 50 lb of cutlet 1 and 30 lb of cutlet 2 can be sold. The two types of turkey used to manufacture the cutlets are purchased from the GobbleGobble Turkey Farm. Each type 1 turkey costs $10 and yields 5 lb of white meat and 2 lb of dark meat. Each type 2 turkey costs $8 and yields 3 lb of white meat and 3 lb of dark meat. Part A: Formulate an LP to maximize Turkeyco’s profit. Part B: Solve the LP (provide exact values for all variables and the optimal objective function).arrow_forwardSimplify the following Boolean functions. F(w, x, y, z) = !w!x!yz + !w!xyz + !wx!y!z + wx!y!z + xy!z + w!x!yz + w!xyz F(w, x, y, z) = *Please do not include "F(w, x, y, z) = " in your solution. Add a single space between variables and operators. _answerarrow_forwardRefer to the following hypothetical situation to come up with a linear programming solution maximizing profit for a local ice-cream shop. The objective: On average, you get $1 in revenue from every pound of ice cream you sell. You get $5 for every ice cream cake (neglect the cake size here) you sell in the market. You need to bring in as much revenue as you can to keep your shop running on a day-to-day basis. The decisions: You need to figure out what mix of ice creams (per pound) and the number of ice cream cakes to produce each month to maximize total profit. The constraints: It costs $0.5 or 50 cents to produce a pound of ice cream and $4 to produce one ice cream cake (on average). You have a budget of $100 per day to devote to producing new products for sale. You must also store this stuff in your 10 cubic meter freezer. Every pound of ice cream takes up .1 cubic meters once packed, and every cake (on average) takes up 0.25 cubic meters. You can't store these products elsewhere…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole