The PieceLinearSOS2a.lng Model

-

View the model
Download the model

Demonstrates the SOS2 feature of LINGO for representing arbitrary, piecewise-linear cost curves.
We have two suppliers. Each with his own piecewise-linear cost curve.
How much should we buy from each to buy a given total amount at minimum cost?

Keywords:

Piecewise Linear | Non-convex Function | Linearization | SOS2 | Purchasing | Quantity Discount |