Deck 3: Introduction to Linear Programming
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/9
Play
Full screen (f)
Deck 3: Introduction to Linear Programming
1
The kitchen manager for Sing Sing Prison is trying to decide what to feed its prisoners.She would like to offer some combination of milk,beans,and oranges.The goal is to minimize cost,subject to meeting the minimum nutritional requirements imposed by law.The cost and nutritional content of each food,along with the minimum nutritional requirements,are shown below.What diet should be fed to each prisoner?
(a)Formulate and solve a linear programming model for this problem in a spreadsheet.(b)Formulate this same model algebraically.

(a)This is a cost-benefit-trade-off problem.The activities are the quantities of food to feed each prisoner and the required benefits are the minimum nutritional requirements.We will start to build a spreadsheet by entering the data.The data for this problem are the nutrient content of each food,the minimum daily requirement for each nutrient,and the cost of each food.The data in the spreadsheet would be entered as displayed below,where range names of UnitCost (C5:E5),NutritionalContents (C9:E11),and MinimumRequirement (H9:H11)are assigned to the corresponding data cells.
The decisions to be made in this problem are how much of each food type should be fed to each prisoner.Therefore,we add three changing cells in C13:E13,with range name Quantity.The values in Quantity (C13:E13)will eventually be determined by Solver.For now,an arbitrary value of 1 is entered for each food type.The goal is to minimize the total cost per prisoner.Thus,the objective cell should calculate this cost: Total Cost = ($2)(gallons of milk)+ ($0.20)(cups of beans)+ ($0.25)(number of oranges)or Total Cost = SUMPRODUCT(UnitCost,Quantity).This formula is entered into cell H14.
The functional constraints in this problem involve the minimum daily requirement of each nutrient.Given the amount of food fed each prisoner (the changing cells in C13:E13),we calculate the total resources used in F9:F11.For niacin,this will be =SUMPRODUCT(C9:E9,$C$13:$E$13).Using an absolute reference for the acres planted,this formula can be copied into cells F10-F11 to calculate the thiamin and vitamin C.The benefit achieved (total of each nutrient)must be >= the minimum needed (H9:H11),as indicated by the >= in G9:G11.
The Solver information and solved spreadsheet are shown below.
Thus,each prisoner should be fed a daily average of 2.574 cups of beans and 0.484 oranges for a total cost of $0.64.(b)To build an algebraic model for this problem,start by defining the decision variables.In this case,the three decisions are how many gallons of milk,cups of beans,and how many oranges to feed each prisoner.These variables are defined below: Let M = gallons of milk fed to each prisoner,B = cups of beans fed to each prisoner,O = number of oranges fed to each prisoner.Next determine the goal of the problem.In this case,the goal is to meet the nutritional requirements at the lowest possible cost.Each gallon of milk costs $2,each cup of beans costs $0.20,and each orange costs $0.25.The objective function is therefore Minimize Total Cost = $2.00M + $0.20B + $0.25O.The nutritional requirements include minimum requirements for niacin,thiamin,and vitamin C.The data for the nutritional contents of each type of food can be used to calculate the total level of each nutrient achieved as a function of the decision variables.The total nutrients need to be greater than or equal to the minimum requirement.These constraints are therefore as follows: Niacin: 3.2M + 4.9B + 0.8O ≥ 13mg,Thiamin: 1.12M + 1.3B + 0.19O ≥ 1.5mg,Vitamin C: 32M + 93O ≥ 45mg.After adding nonnegativity constraints,the complete algebraic formulation is given below: Let M = gallons of milk fed to each prisoner,B = cups of beans fed to each prisoner,O = number of oranges fed to each prisoner.Minimize Total Cost = $2.00M + $0.20B + $0.25O.subject to Niacin: 3.2M + 4.9B + 0.8O ≥ 13mg,Thiamin: 1.12M + 1.3B + 0.19O ≥ 1.5mg,Vitamin C: 32M + 93O ≥ 45mg.and M ≥ 0,B ≥ 0,O ≥ 0.










2
Comfortable Hands is a company which features a product line of winter gloves for the entire family - men,women,and children.They are trying to decide what mix of these three types of gloves to produce.Comfortable Hands' manufacturing labor force is unionized.Each full-time employee works a 40-hour week.In addition,by union contract,the number of full-time employees can never drop below 20.Nonunion,part-time workers can also be hired with the following union-imposed restrictions: (1)each part-time worker works 20 hours per week,and (2)there must be at least 2 full-time employees for each part-time employee.All three types of gloves are made out of the same 100% genuine cowhide leather.Comfortable Hands has a long term contract with a supplier of the leather,and receives a 5,000 square feet shipment of the material each week.The material requirements and labor requirements,along with the gross profit per glove sold (not considering labor costs)is given in the following table.
Each full-time employee earns $13 per hour,while each part-time employee earns $10 per hour.Management wishes to know what mix of each of the three types of gloves to produce per week,as well as how many full-time and how many part-time workers to employ.They would like to maximize their net profit - their gross profit from sales minus their labor costs.Formulate a linear programming model for this problem.

Each full-time employee earns $13 per hour,while each part-time employee earns $10 per hour.Management wishes to know what mix of each of the three types of gloves to produce per week,as well as how many full-time and how many part-time workers to employ.They would like to maximize their net profit - their gross profit from sales minus their labor costs.Formulate a linear programming model for this problem.
The decision variables can be denoted and defined as follows: M = number of men's gloves to produce per week,W = number of women's gloves to produce per week,C = number of children's gloves to produce per week,F = number of full-time workers to employ,PT = number of part-time workers to employ.(Alternative notation for the decision variables is xM,xW,xC,xF,and xPT,respectively.)Also letting P (or Z)denote the total net profit per week,the linear programming model for this problem is Maximize P = 8 M + 10 W + 6 C - 13(40)F - 10(20)PT,subject to 2 M + 1.5 W + C 5000 30 M + 45 W + 40 C 40(60)F + 20(60)PT F 20 F 2 PT and M 0,W 0,C 0,F 0,PT 0.
3
Dwight and Hattie have run the family farm for over thirty years.They are currently planning the mix of crops to plant on their 120-acre farm for the upcoming season.The table below gives the labor hours and fertilizer required per acre,as well as the total expected profit per acre for each of the potential crops under consideration.Dwight,Hattie,and their children can work at most 6,500 total hours during the upcoming season.They have 200 tons of fertilizer available.What mix of crops should be planted to maximize the family's total profit?
(a)Formulate and solve a linear programming model for this problem in a spreadsheet.(b)Formulate this same model algebraically.

(a)This is a resource-allocation problem.The activities are the planting of the three crops and the limited resources are land,labor,and fertilizer.We will start to build a spreadsheet by entering the data.The data for this problem are the labor required,fertilizer required,and expected profit for each crop (per acre).The data in the spreadsheet would be entered as displayed below,where range names of ProfitPerAcre (C4:E4)and TotalAvailable (H7:H9)are assigned to the corresponding data cells.
The decisions to be made in this problem are how many acres of each crop to plant.Therefore,we add three changing cells in C12:E12 with range name AcresPlanted.The values in AcresPlanted (C12:E12)will eventually be determined by the Solver.For now,an arbitrary value of 1 is entered for each crop.
The goal is to maximize the family's total profit.Thus,the objective cell should calculate the total profit.In this case,the total profit will be Total Profit = ($500)(acres of oats)+ ($600)(acres of wheat)+ ($950)(acres of corn)or Total Profit = SUMPRODUCT(ProfitPerAcre,AcresPlanted).This formula is entered into cell H12.With 1 acre of each crop planted,the total cost would be ($500)(1)+ ($600)(1)+ ($950)(1)= $2,050.
The functional constraints in this problem involve the limited resources of land,labor,and fertilizer.Given the AcresPlanted (the changing cells in C12:E12),we calculate the total resources used in TotalUsed (cells F7:F9).For land,this will be =SUMPRODUCT(C7:E7,AcresPlanted).Using a range name or an absolute reference for the acres planted,this formula can be copied into cells F8:F9 to calculate the amount of labor and fertilizer used.The total resources used must be <= TotalAvailable (H7:H9),as indicated by the <= in G7:G9.
The Solver information and solved spreadsheet are shown below.
Thus,oats should be planted on 80 acres and wheat on 40 acres,while not planting any corn,with a resulting total profit of $64,000.(b)To build an algebraic model for this problem,start by defining the decision variables.In this case,the three decisions are how many acres of oats,wheat,and corn to plant.These variables are defined below: Let O = Acres of oats planted,W = Acres of wheat planted,C = Acres of corn planted.Next determine the goal of the problem.In this case,the goal is to achieve the highest possible total profit.Each acre of oats yields a profit of $500,each acre of wheat yields a profit of $600,while each acre of corn yields a profit of $950.The objective function is therefore Maximize Total Profit = $500O + $600W + $950C.There are three limited resources in this problem: 120 acres of land,6500 hours of labor,and 200 tons of fertilizer.Each acre of a given crop that is planted uses up one available acre.The data for labor hours used and fertilizer used per acre planted can be used to calculate the total resources used as a function of the decision variables.The total resources used need to be less than or equal to the amount available.These constraints are therefore as follows: Land: O + W + C ≤ 120 acres,Labor: 50O + 60W + 105C ≤ 6500 hours,Fertilizer: 1.5O + 2W + 4C ≤ 200 tons After adding nonnegativity constraints,the complete algebraic formulation is given below: Let O = Acres of Oats planted,W = Acres of Wheat planted,C = Acres of Corn planted.Maximize Total Profit = $500O + $600W + $950C.subject to Land: O + W + C ≤ 120 acres,Labor: 50O + 60W + 105C ≤ 6500 hours,Fertilizer: 1.5O + 2W + 4C ≤ 200 tons and O ≥ 0,W ≥ 0,C ≥ 0.











4
Back Savers is a company that produces backpacks primarily for students.They are considering offering some combination of two different models-the Collegiate and the Mini.Both are made out of the same rip-resistant nylon fabric.Back Savers has a long-term contract with a supplier of the nylon and receives a 5000 square-foot shipment of the material each week.Each Collegiate requires 3 square feet while each Mini requires 2 square feet.The sales forecasts indicate that at most 1000 Collegiates and 1200 Minis can be sold per week.Each Collegiate requires 45 minutes of labor to produce and generates a unit profit of $32.Each Mini requires 40 minutes of labor and generates a unit profit of $24.Back Savers has 35 laborers that each provides 40 hours of labor per week.Management wishes to know what quantity of each type of backpack to produce per week.(a)Formulate and solve a linear programming model for this problem on a spreadsheet.(b)Formulate this same model algebraically.(c)Use the graphical method by hand to solve this model.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
5
The marketing group for a cell phone manufacturer plans to conduct a telephone survey to determine consumer attitudes toward a new cell phone that is currently under development.In order to have a sufficient sample size to conduct the analysis,they need to contact at least 100 young males (under age 40),150 older males (over age 40),120 young females (under age 40),and 200 older females (over age 40).It costs $1 to make a daytime phone call and $1.50 to make an evening phone call (due to higher labor costs).This cost is incurred whether or not anyone answers the phone.The table below shows the likelihood of a given customer type answering each phone call.Assume the survey is conducted with whoever first answers the phone.Also,because of limited evening staffing,at most one-third of phone calls placed can be evening phone calls.How should the marketing group conduct the telephone survey so as to meet the sample size requirements at the lowest possible cost?
(a)Formulate and solve a linear programming model for this problem on a spreadsheet.(b)Formulate this same model algebraically.

Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
6
Cool Power produces air conditioning units for large commercial properties.Due to the low cost and efficiency of its products,the company has been growing from year to year.Also,due to seasonality in construction and weather conditions,production requirements vary from month to month.Cool Power currently has 10 fully trained employees working in manufacturing.Each trained employee can work 160 hours per month and is paid a monthly wage of $4000.New trainees can be hired at the beginning of any month.Due to their lack of initial skills and required training,a new trainee only provides 100 hours of useful labor in their first month,but are still paid a full monthly wage of $4000.Furthermore,because of required interviewing and training,there is a $2500 hiring cost for each employee hired.After one month,a trainee is considered fully trained.An employee can be fired at the beginning of any month,but must be paid two weeks of severance pay ($2000).Over the next 12 months,Cool Power forecasts the labor requirements shown in the table below.Since management anticipates higher requirements next year,Cool Power would like to end the year with at least 12 fully trained employees.How many trainees should be hired and/or workers fired in each month to meet the labor requirements at the minimum possible cost? Formulate and solve a linear programming spreadsheet model. 

Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
7
The Weigelt Corporation has three branch plants with excess production capacity.Fortunately,the corporation has a new product ready to begin production,and all three plants have this capability,so some of the excess capacity can be used in this way.This product can be made in three sizes--large,medium,and small--that yield a net unit profit of $420,$360,and $300,respectively.Plants 1,2,and 3 have the excess capacity to produce 750,900,and 450 units per day of this product,respectively,regardless of the size or combination of sizes involved.The amount of available in-process storage space also imposes a limitation on the production rates of the new product.Plants 1,2,and 3 have 13,000,12,000,and 5,000 square feet,respectively,of in-process storage space available for a day's production of this product.Each unit of the large,medium,and small sizes produced per day requires 20,15,and 12 square feet,respectively.Sales forecasts indicate that if available,900,1,200,and 750 units of the large,medium,and small sizes,respectively,would be sold per day.At each plant,some employees will need to be laid off unless most of the plant's excess production capacity can be used to produce the new product.To avoid layoffs if possible,management has decided that the plants should use the same percentage of their excess capacity to produce the new product.Management wishes to know how much of each of the sizes should be produced by each of the plants to maximize profit.Formulate a linear programming model for this problem.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
8
Surfs Up produces high-end surfboards.A challenge faced by Surfs Up is that their demand is highly seasonal.Demand exceeds production capacity during the warm summer months,but is very low in the winter months.To meet the high demand during the summer,Surfs Up typically produces more surfboards than are needed in the winter months and then carries inventory into the summer months.Their production facility can produce at most 50 boards per month using regular labor at a cost of $125 each.Up to 10 additional boards can be produced by utilizing overtime labor at a cost of $135 each.The boards are sold for $200.Because of storage cost and the opportunity cost of capital,each board held in inventory from one month to the next incurs a cost of $5 per board.Since demand is uncertain,Surfs Up would like to maintain an ending inventory (safety stock)of at least 10 boards during the warm months (May-September)and at least 5 boards during the other months (October-April).It is now the start of January and Surfs Up has 5 boards in inventory.The forecast of demand over the next 12 months is shown in the table below.Formulate and solve a linear programming model in a spreadsheet to determine how many surfboards should be produced each month to maximize total profit. 

Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
9
Slim-Down Manufacturing makes a line of nutritionally complete,weight-reduction beverages.One of their products is a strawberry shake which is designed to be a complete meal.The strawberry shake consists of several ingredients.Some information about each of these ingredients is given below.
The nutritional requirements are as follows.The beverage must total between 380 and 420 calories (inclusive).No more than 20% of the total calories should come from fat.There must be at least 50 milligrams (mg)of vitamin content.For taste reasons,there must be at least two tablespoons (tbsp)of strawberry flavoring for each tbsp of artificial sweetener.Finally,to maintain proper thickness,there must be exactly 15 mg of thickeners in the beverage.Management would like to select the quantity of each ingredient for the beverage which would minimize cost while meeting the above requirements.Formulate a linear programming model for this problem.

Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck