The linear programming diet problem is an obvious starting place. For decades linear programs have been used to find optimal combinations of different types of feed for animals such as pigs, cattle and poultry. A popular teaching diet problem is based on McDonald’s fast food. Information on nutritional content and requirements is easily sourced these days on the web. Students can create their own diet problems and find the least cost solution to feed themselves a minimum cost, balanced (within reason) diet at McDonalds. When we used this as a student assignment the solution involved a large number of soft-serve ice cream cones. This sort of solution helps teach students that the computer finds the optimal solution to the model, which may not be even feasible in reality, if there are too many implicit constraints.
A popular variation of the McDonalds diet problem was the Hiking diet problem. This was a little different as the objective was minimising weight rather than cost. Again the initial “optimal” solution lacked variety. (This gave us the opportunity to teach that the number of non-zero variables at optimality will not exceed the number of binding constraints.) The students enjoyed the assignment and some were inspired to the extent that they used it to cater for a hike. Another example was refugee boxes, aiming to provide a balanced diet for a family for a week, at minimum cost.In all these examples the problem of non-integer solutions can also be addressed.
When teaching about fixed and variable costs, and developing a spreadsheet model, our example is that of a sausage sizzle. In it the students are setting up to sell sausages wrapped in bread, with onions, cooked on a barbecue. The aim is to find the breakeven point.
Critical path can be taught in the context of planning a three course dinner.
3 Comments
A colleague used to teach statistical process control using bags of M&M candies (counting the number of pieces of each color). The lesson was popular due to the consumption of the samples at the end of class.
I can imagine.
I have a whole lesson on Inference based on bags of chocolate bars. I’ll blog about that when I do “teaching statistics with chocolate”!
[…] Some time ago I promised to blog about how to teach statistics with chocolate. Anyone who has watched my youtube videos may have noticed a recurring theme. Helen sells Choconutties. These are a fictitious chocolate bar, originally devised to require a table of prices, which would require the use of absolute and relatives references. As the series developed Helen had all sorts of issues with her sales, which required statistical analysis, often using spreadsheets. For the “choosing the test” video I managed to come up with seven different chocolate-based scenarios. I’ve had complaints from my students that using my materials makes them hungry. […]