7 min read · AI for business · AI by department

Every Monday morning, the production planner has to go through the backlog of orders, see which machine is free and whether there is enough material, and then sequence the week's jobs. The data is spread across Excel, LINE groups and the shift leaders' memory. When a rush order comes in, everything has to be rearranged again. AI can help with several parts of this, but not the same part as "finding the best schedule".
This article is about an assistant for the planner: it drafts a plan, explains where jobs collide, and asks for missing data, with a person approving. It is not a system that builds the schedule by itself, and it is not about asking factory data in plain language, which is already covered in the article Asking Factory Data in Plain Language (AI Agent connected to SCADA and MES).
Survey the data the plan needs
Before talking about AI, look at where the data the plan needs lives and how far it can be trusted.
- Orders: quantity, delivery date, urgency, and customers who change dates often
- Machine capacity: output rate per hour, open shifts, machines under maintenance
- Material: what is on hand, what is on the way, and the date it will arrive
- Changeover time (changeover is the time to adjust a machine when switching products): how long it takes from which model to which
- People constraints: the number of technicians and who can run which machine
If these numbers are still in people's heads, put them into a table first. This step often pays off by itself, even before any AI.
Separate hard constraints from flexible ones
Hard constraints cannot be broken, for example one machine does one job at a time, and material must arrive before production starts. Flexible constraints are things you want but can negotiate, for example delivering on the exact date, or grouping jobs of the same model together.
- Hard: one machine runs one job at a time, the steps of the same job must not be reordered, material must be ready
- Flexible: deliver on the exact date, reduce the number of changeovers, avoid overtime
- Ask a person: which customers accept late delivery with no effect on the contract
Let a solver find the schedule, and let AI help explain it
Finding a feasible job sequence is the kind of problem that dedicated tools handle well. The Google OR-Tools learning page on job shop scheduling (arranging several jobs across several machines) uses the CP-SAT solver. It states that each machine can do one job at a time, that the steps within a job must follow in order, and it asks for the plan in which all jobs finish soonest.
A schedule written out by a language model may break some rules without anyone noticing, so the roles are split as follows.
- Language AI: reads orders and text documents, and summarizes the constraints as a list for the planner to confirm
- Solver or rules: builds a schedule that satisfies every hard constraint
- Checker: a program that checks whether the schedule breaks any rule, before a person looks at it
- Language AI: explains why this order was postponed, or which rules conflict, in words the line leader understands
Have the planner review before real use
A plan that passes the checker is not necessarily doable on the floor, because the data may be out of date. For example, a machine broke down last night, or the material recorded in the system does not match what is in the warehouse. The planner must review the plan and its reasons, edit it if needed, and then approve it. The system should not send production orders to machines or to the MES on its own without this step.
OWASP calls the risk of a system being given too much power excessive agency (the system takes high-impact actions on its own without a person confirming). It recommends that a person approve high-impact actions, and that permissions be kept to a minimum. An assistant that can only read data and propose drafts is therefore safer than a system that edits the production schedule itself.
Hypothetical example: a factory has two lines, each running 8 hours per day at 100 pieces per hour, which is 800 pieces per line per day. Order A is 400 pieces due Wednesday. Order B is 300 pieces, also due Wednesday, for a total of 700 pieces. One line has enough capacity, but the material on hand is enough for 600 pieces before Wednesday, and the rest arrives Thursday. The system therefore reports that 700 exceeds 600 by 100 pieces, so Order B cannot be delivered in full on Wednesday. AI explains this in one sentence and proposes two options: ship in installments, or move Order B to Thursday. The planner chooses after talking with sales. All numbers are made up.
Checklist before you start
- Start with one week's plan for two or three lines whose data is complete
- Build tables for orders, machine capacity, material and changeover time
- Write the hard and flexible constraints for the planner to approve
- Have a checker that tests every plan for which rules it breaks
- Let AI explain conflicts and missing data, and do not let it write to the production system
- Compare against the real plans the planner made in past weeks
How well it fits, and limits
The benefit is that the team sees the reasons behind the plan and the missing data sooner, and spends less time chasing answers in LINE groups. It suits factories with frequent rush orders and data that is already in tables.
The limit is that a language model may give a plan that is not really doable or not the best one, so a checker and data from the floor are needed. If material data or machine status does not match reality, a good-looking plan is still unusable. And if there are only a few orders, planning by hand is still faster.
Start a conversation with BT San
If you are interested, prepare one week of production planning with complete data, from orders and machine capacity to material, along with the actual plan in use. Then talk with the BT San team to see which parts suit AI, and which parts need a solver and the planner's approval.




