Docsity

Linear Programming Exam - Spring 2008 - Prof. Douglas R. Bish, Exams of Operational Research

Toggle sidebar
bg1
ISE 2404 - DOR, Exam 1 - Spring 2008 DOR #:
Directions: You may use the textbook and your notebooks as reference. You may not
use computers or calculators or class-mates. Please write your answers on the test sheet
if possible. You have 45 minutes to complete this exam. Good luck and clear thinking.
Problem 1 (30/60 points): Your professor tries to use Linear Programs whenever he
can. He is going hiking on the weekend and wants to make an “optimal” trail-mix (a
hiking snack) that is as light as possible (he does not want to carry too much weight), yet
offers the proper range of nutrients and calories. Below are the 3 ingredients he is
considering, along with the amount of nutrients per gram of ingredient:
Ingredients Vitamin B Protein Calories
peanuts 5 3 10
dried anchovies 20 10 15
yogurt balls 15 2 10
The following table represents the minimum amount of nutrients and calories required in
the trail mix.
Vitamin B Protein Calories
200 150 1000
Furthermore, your professor wants to limit the calories to at most 1500, and would like
each ingredient to be included, to a level of at least 10% of the mix, by weight (for
example, if the weight of the final product were 100 grams, then there must be at least 10
grams each of peanuts, dried anchovies, and yogurt balls). Please formulate an LP that
will enable your professor to mix the “optimal” trail-mix.
p ~ grams of peanuts in trail-mix
a ~ grams of anchovies in trail-mix
y ~ grams of yogurt balls in trail mix
minimize p + a + y
s.t.
5p + 20a + 15y 200 (vitamin B requirement)
3p + 10a + 2y 150 (protein requirement)
10p + 15a + 10y 1000 (calorie requirement)
10p + 15a + 10y 1500 (calorie limit)
p 0.1(p + a + y) (peanut requirement)
a 0.1(p + a + y) (anchovy requirement)
y 0.1(p + a + y) (yogurt requirement)
p, a, y 0 (logical non-negativity constraint)
1
pf2

Partial preview of the text

Download Linear Programming Exam - Spring 2008 - Prof. Douglas R. Bish and more Exams Operational Research in PDF only on Docsity!

ISE 2404 - DOR, Exam 1 - Spring 2008 DOR #: Directions: You may use the textbook and your notebooks as reference. You may not use computers or calculators or class-mates. Please write your answers on the test sheet if possible. You have 45 minutes to complete this exam. Good luck and clear thinking. Problem 1 (30/60 points): Your professor tries to use Linear Programs whenever he can. He is going hiking on the weekend and wants to make an “optimal” trail-mix (a hiking snack) that is as light as possible (he does not want to carry too much weight), yet offers the proper range of nutrients and calories. Below are the 3 ingredients he is considering, along with the amount of nutrients per gram of ingredient: Ingredients Vitamin B Protein Calories peanuts 5 3 10 dried anchovies 20 10 15 yogurt balls 15 2 10 The following table represents the minimum amount of nutrients and calories required in the trail mix. Vitamin B Protein Calories 200 150 1000 Furthermore, your professor wants to limit the calories to at most 1500, and would like each ingredient to be included, to a level of at least 10% of the mix, by weight (for example, if the weight of the final product were 100 grams, then there must be at least 10 grams each of peanuts, dried anchovies, and yogurt balls). Please formulate an LP that will enable your professor to mix the “optimal” trail-mix. p ~ grams of peanuts in trail-mix a ~ grams of anchovies in trail-mix y ~ grams of yogurt balls in trail mix minimize p + a + y s.t. 5p + 20a + 15y  200 (vitamin B requirement) 3p + 10a + 2y  150 (protein requirement) 10p + 15a + 10y  1000 (calorie requirement) 10p + 15a + 10y  1500 (calorie limit) p  0.1(p + a + y) (peanut requirement) a  0.1(p + a + y) (anchovy requirement) y  0.1(p + a + y) (yogurt requirement) p, a, y  0 (logical non-negativity constraint) 1

ISE 2404 - DOR, Exam 1 - Spring 2008 DOR #: Problem 2(20/60 points): A manufacturing company produces two products (A and B), using three different parts (P1 and P2). The following table shows the number of each part required for product A and B, along with the number of parts available. Parts # of parts required for each unit of product

of parts available

A B P1 2 2 1200 P2 2 1 1000 Product A sells for $30 apiece, while product B sells for $25 apiece. Part P1 costs $ apiece and part P2 costs $4 apiece. Formulate an LP to maximize the company’s profits. A ~ amount of product A to produce B ~ amount of product B to produce maximize (30 – 2(5) – 2(4))A + (25 – 2(5) – 4)B s.t. 2A + 2B  1200 (limit of number of P1 available) 2A + B  1000 (limit on number of P2 available) A, B  0 (logical non-negativity constraint) Problem 3 (10/60 points): Please circle any of the following expressions that are not linear (xi’s are variables, ai’s are constants, i{1,2,3}).

1. a 1 x 1 + a 2 x 2 – a 3 x 3 2. a 1 (x 1 )^2 + a 2 x 2 – a 3 x 3 3. (a 1 )^2 x 1 + a 2 x 2 – a 3 x 3 4. |x 1 | + a 2 x 2 – a 3 x 3 5. (a 1 a 2 )x 1 + a 2 x 2 + a 3 x 3 2