



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Score:
Each problem is worth 10 points. The total is 50 points.
Product Wood Labor Profit Bookshelf 10 2 100 Coffee table 12 4 150 Cabinet 25 8 200 Deluxe cabinet 20 12 400
Solution
(a) Set the optimization variables as
x 1 = number of bookshelves made per week x 2 = number of coffee tables made per week x 3 = number of cabinets made per week x 4 = number of deluxe cabinets made per week
(b) The objective is to
maximize f (x 1 , x 2 , x 3 , x 4 ) = 100x 1 + 150x 2 + 200x 3 + 400x 4
(c) Subject to the constraints
Wood: 10 x 1 + 12x 2 + 25x 3 + 20x 4 โค 5000 Labor: 2 x 1 + 4x 2 + 8x 3 + 12x 4 โค 1500 Other: x 1 , x 2 , x 3 , x 4 โฅ 0 , and they must be integers
(a) Set the optimization variables as
r = the radius of the can h = the height of the can
(Note: you can also set the variables to be the diameter and the height.) (b) The objective is to minimize the cost of making the can, which is equivalent to mini- mize the surface area of the can in this problem:
minimize f (r, h) = (2ฯr) h + 2(ฯr^2 )
(c) Subject to the constraints (ฯr^2 ) h โฅ 400 cm^3
f (x, y) = x^3 โ 3 xy + 4y^2
Solution First, we compute the Hessian of f :
โ^2 f =
( (^) โ (^2) f โx^2
โ^2 f โxโy โ^2 f โxโy
โ^2 f โy^2
6 x โ 3 โ 3 8
By the principle minors test, we have { 6 x โฅ 0 (6x) ร (8) โ (โ3) ร (โ3) = 48x โ 9 โฅ 0
x โฅ 0 x โฅ 489
Combine the above, we know that f is convex when x โฅ 489.
โf =
3 โ 3 x^2 โ 4 y + 4y^3
3 โ 3 x^2 = 0 โ 4 y + 4y^3 = 0
Notice that
3 โ 3 x^2 = 3(1 โ x^2 ) = 0 โ x^2 = 1 โ x = ยฑ 1 โ 4 y + 4y^3 = 4y(y^2 โ 1) = 0 โ y = 0 or y^2 = 1 โ y = 0, ยฑ 1
Therefore, there are 6 stationary points: (1, 0), (1, โ1), (1, 1), (โ 1 , 0), (โ 1 , โ1), (โ 1 , 1). Next, we compute the Hessian of f :
โ^2 f =
โ 6 x 0 0 โ4 + 12y^2
The eigenvalues of โ^2 f are โ 6 x and โ4 + 12y^2 , since it is a diagonal matrix. By checking the eigenvalues of โ^2 f at all stationary points, we have
point eigenvalues โ^2 f point type ( 1, 0) -6, -4 negative definite local maximum ( 1,-1) -6, 8 indefinite saddle point ( 1, 1) -6, 8 indefinite saddle point (-1, 0) 6, -4 indefinite saddle point (-1,-1) 6, 8 positive definite local minimum (-1, 1) 6, 8 positive definite local minimum