Optimization, Operations Research, Python, Programming, Data Science.
going to machine 4, job 1 must have gone to machine 1. Analogously, before going to machine 1, job 2 must have been processed in machine 4. Each machine can process only one job at a time. Operations are defined by pairs (machine, job) and each has a specific processing time p. Therefore, the total