View the model
Download the model
We need to buy a specified amount of commodity.
Two vendors each offer their own price curve (piecewise linear).
How much should we buy from each to minimize total cost?
We use the SOS2 capability of What'sBest! to represent piecewise linear cost curves.
For each price curve, we enter the (vol, total_cost) pairs at the breakpoints.