What it looks like
| Goes in | Comes out |
|---|---|
| Three jobs, three machines, a list of steps per job with the machine and time each step needs. | A start and end time for every step, with the total time to finish all jobs, and a flag for the machine that limits the plant. |
Illustrative example.
How to test AI on this job before you buy
- Pick one past week of real orders, with the machines, step times and due dates you actually had.
- Write down what your planner scheduled and how the week really went, including late orders.
- Give the software the same week and compare total finish time and late orders against your real result.
- Add a surprise, such as a machine going down for half a day, and check how fast it produces a new usable schedule.
- Ask your planner to read the schedule. If they cannot follow it, the shop floor will not either.
Buy or build
Buy: Buy when your plant fits common patterns and you need a scheduler that talks to your orders and machines.
Build: Build when your rules are unusual, for example special setups or cleaning between products, using a free solver as the core.
What goes wrong
- A schedule is only as good as its inputs. Wrong step times or stale inventory data give a wrong schedule.
- Real plants have rules the textbook problem leaves out, such as operator shifts and changeover time. List them before you test.
- Minimizing total time may not be your goal. You may care more about on-time orders or fewer changeovers.
- Plans need to be re-run often. Test how quickly it re-plans after a change.
Useful resources
- Google OR-Tools: The Job Shop Problem: A worked example of modeling and solving a job shop schedule with a constraint solver.
- Job-shop scheduling (Wikipedia): An overview of the problem, its variants and the standard benchmark instances.
Sources
| Source | What it says |
|---|---|
| Google OR-Tools: The Job Shop Problem | Defines the job shop problem: tasks in a job run in order, a machine does one task at a time, and the goal is the shortest total schedule. |
| Job-shop scheduling (Wikipedia) | Defines job-shop scheduling and the makespan, and names Taillard as the source of the best-known benchmark instances. |
Related: Predictive maintenance: fix machines before they fail · Route optimization software: plan better delivery routes