Thursday, December 1, 2011

Modeling is more difficult than many people think…

From a Bachelors thesis:

Transportation

In this simple transportation model I see at least two problems.

The capacity constraint should probably look like:

forall (o in DCs)
  ctCapacity:
     sum(p in Products, d in Stores)
         Trans[p][o][d] <= Capacity[o];

The care needed to write correct models is often underestimated.