Max-Plus Algebra applied to Supply Chain Scheduling