Milk Collection: How to Route and Assign Milk Collection Lorries to Farms


Features Demonstrated

The following features are demonstrated in this example:

  • problem type: mixed integer linear programming (vehicle routing)

  • sets of tuples

  • sets indexed by other sets

  • set operators UNION and DIFF

  • INIT option

  • CARD function

  • using a colon (:) to select members of a set

  • AND aggregation operator

  • symmetry-breaking constraints

  • MILP solver option SYMMETRY=

  • calling a solver in a DO UNTIL loop

  • row generation

  • connected components

  • .sol variable suffix

  • CALL SYMPUT

  • SGPLOT procedure