# Worksheet: Linear Programming

In this worksheet, we will practice finding the optimal solution of a linear system that has an objective function and multiple constraints.

**Q3: **

Given the graph below and that , , , and , determine at which point the function has its maximum using linear programming.

- A
- B
- C
- D

**Q4: **

Using linear programming, find the minimum and maximum values of the function given that , , , and .

- AThe minimum value is , and the maximum value is 1.
- BThe minimum value is , and the maximum value is 1.
- CThe minimum value is , and the maximum value is .
- DThe minimum value is 0, and the maximum value is 9.

**Q11: **

A seafood restaurant sells two types of cooked fish; cod and eel. The restaurant sells NO LESS than 40 fish every day but it does not use more than 30 cod and no more than 45 eels. The price of one cod is 6 LE and that of an eel is 8 LE. Let represent the amount of cod purchased each day, and represent the amount of eel. Given that the manager wants to minimise the total price, , of fish, state the objective function and the inequalities that will help the restaurant manager decide how many of each fish to buy.

- A, , , , ,
- B, , , , ,
- C, , , , ,
- D, , , , ,
- E, , , , ,

**Q12: **

A candy store sells bags of marshmallows for 5 LE each and bags of cola candy for 6 LE each. A child wants to buy both types of candy and has restrictions on how many they can buy that are described by the figure shown, where represents the number of bags of marshmallows they buy and represents the number of bags of cola candy. What is the lowest price possible in this situation?

**Q13: **

A small factory produces two types of metal furniture, and . They can produce at most 25 pieces of metal furniture in total. The profit from type is 60 LE and the profit from type is 40 LE. The factory sells at least 2 times more of type than type . State the objective function and inequalities that will help to find the maximum profit for the factory.

- A, , , ,
- B, , , ,
- C, , , ,
- D, , , ,

**Q14: **

A baby food factory produces two types of baby food with different nutritional values. The first type, denoted by , costs 3 LE for one jar which contains 3 units of vitamin A and 2 of vitamin B. The second type, denoted by , costs 4 LE for one jar which contains 4 units of vitamin A and 3 of vitamin B. A child needs at least 120 units of vitamin A and 100 units of vitamin B to satisfy his nutrition needs. State the objective function and the inequality constraints needed to determine how many jars of each type to purchase to satisfy the nutrition requirements at the lowest possible cost.

- A, , , ,
- B, , , ,
- C, , , ,
- D, , , ,

**Q15: **

A baby food factory produces two types of baby food with different nutritional values. One jar of the first type has 2 units of vitamin A and 4 units of vitamin B, while a jar of the second type has 4 units of vitamin A and 2 units of vitamin B. Every child requires at least 100 units of vitamin A and 140 units of vitamin B each month. The first type costs 6 LE per jar while the second costs 4 LE per jar. Using the graph below, determine the objective function and then find the lowest possible cost required to supply a child with their required monthly nutrients.

- A, and the lowest possible cost is 420 LE.
- B, and the lowest possible cost is 280 LE.
- C, and the lowest possible cost is 100 LE.
- D, and the lowest possible cost is 1,800 LE.
- E, and the lowest possible cost is 220 LE.

**Q16: **

A baby food factory produces two types of baby food with different nutritional values. One jar of the first type has 4 units of vitamin A and 2 units of vitamin B, while a jar of the second type has 2 units of vitamin A and 3 units of vitamin B. Every child requires at least 120 units of vitamin A and 100 units of vitamin B each month. The first type costs 6 LE per jar while the second costs 4 LE per jar. Using the graph below, determine how many of each type of jar should be bought to meet the childβs monthly needs at the lowest possible cost.

- AJars of the first type , jars of the second type
- BJars of the first type , jars of the second type
- CJars of the first type , jars of the second type
- DJars of the first type , jars of the second type

**Q17: **

In a workshop, two workers produce two types of iron desks: type A and type B. One worker builds the desks and the other sprays them. It takes the first worker 4 hours to build one desk of type A and 3 hours to build one desk of type B. It takes the second worker 3 hours to spray one desk of type A and 4 hours to spray one desk of type B. The first person works at least 5 hours a day, and the other works a maximum of 7 hours a day. If the workshop earns a profit of 60 LE from each desk (of either type), determine the objective function and inequalities required for calculating the number of desks of each type to be produced every day to maximize the profit .

- A, , , ,
- B, , , ,
- C, , , ,
- D, , , ,
- E, , , ,

**Q18: **

A factory produces two types of iron desks: type A and type B. One worker builds the desks and another sprays them. It takes the first worker 3.5 hours to build one desk of type A and 2 hours to build one desk of type B. It takes the second worker 4 hours to spray one desk of type A and 2 hours to spray one desk of type B. The first person works at least 5 hours a day, and the other works a maximum of 8 hours a day. If the factory earns a profit of 50 LE from each desk (of either type), determine how many desks of each type to produce each day to maximize the profit.

- A0 desks of type A, 4 desks of type B
- B0 desks of type A, 2 desks of type B
- C2 desks of type A, 0 desks of type B
- D4 desks of type A, 0 desks of type B

**Q19: **

Two packages of food supplies are available; the first gives 4 calories and has 6 units of vitamin C, and the second gives 3 calories and has 4 units of vitamin C. We need at least 37 calories and 22 units of vitamin C. The first costs 6 LE per package, and the second costs 8 LE per package. Using to represent the amount of packages of the first type and to represent the number of packages of the second type, state the objective function used to determine the minimum cost of buying packages to fulfill the nutrient needs.

- A
- B
- C
- D
- E

**Q20: **

A farmer can improve the quality of his produce if he uses at least 18 units of nitrogen-based compounds and at least 6 units of phosphate compounds. He can use two types of fertilizers: A and B. The cost and contents of each fertilizer are shown in the table.

The Fertilizer | Number of Units of Nitrogen-Based Compounds per Kilogram | Number of Units of Phosphate Compounds per Kilogram | Cost for Each Kilogram (LE) |
---|---|---|---|

A | 3 | 2 | 170 |

B | 6 | 1 | 120 |

Given that the graph represents the constraints in this situation, find the lowest cost the farmer can pay for fertilizer while providing sufficient amounts of both compounds.

**Q21: **

A factory produces chairs and tables and is trying to decide how many of each it needs to produce to maximize its profit.

They have determined the constraints and drawn the feasible region as shown, where represents the number of chairs and represents the number of tables.

If they find a buyer who agrees to pay a fee such that they receive 150 profit for each chair and 200 profit for each table, what can they expect their maximum profit to be?

If they can only guarantee a profit of 50 per chair and 180 per table, how many of each should they produce to maximize their profit?

- A32 chairs, 0 tables
- B45 chairs, 0 tables
- C38 chairs, 18 tables
- D18 chairs, 38 tables
- E0 chairs, 32 tables

**Q22: **

A small company dyes shirts to be either solid color or tie-dye, and they want to decide how many shirts of each color to prepare for an upcoming sale. They have a budget of $240. Purchasing each shirt costs $2. It costs $0.50 to dye a shirt with a solid color and $1.50 to produce a tie-dye shirt. They only have 8 hours to prepare all the shirts, and it takes 2 minutes to dye a solid-color shirt and 10 minutes to dye a tie-dye shirt.

They want to maximize their profit, knowing that they can sell solid-color shirts for $8 each and tie-dye shirts for $10 each.

Let represent the number of solid-color shirts and represent the number of tie-dye shirts. Which of the following shows the feasible region?

- A
- B
- C
- D

State the objective function.

- A
- B
- C
- D
- E

How many of each type of shirt should the company produce to maximize profit?

- A0 solid-color shirts and 48 tie-dye shirts
- B89 solid-color shirts and 69 tie-dye shirts
- C69 solid-color shirts and 40 tie-dye shirts
- D40 solid-color shirts and 40 tie-dye shirts
- E48 solid-color shirts and 0 tie-dye shirts