The project addresses the problem of chemical testing scheduling for production batches. The main aim is to optimise the sequence of tests for each batch in order to minimise their overall duration, while ensuring strict compliance with process and time constraints (batch deadlines). Besides scheduling efficiency, the problem requires the ability to extract useful information to explain and justify the solution obtained to human operators.

The approach proposed is based on a hybrid architecture that combines NeuroSymbolic AI and Reinforcement Learning. The system processes a list of tests to carry out and generates an optimised schedule. Another key component is Explainable AI, introduced to make the algorithm’s decision-making process transparent by generating Gantt charts of the optimised solution and heat maps that enable machine load monitoring.

Technical deep dive

  • Overview: The problem is modelled as a Flexible Job‑Shop Scheduling Problem (FJSSP).
  • Environment (FJSSPEnv): a Gym‑compatible, highly configurable environment (jobs, tasks, machines, durations and variability of human interventions) to simulate scenarios of varying complexity.
  • Agents & Algorithms: reference implementations for PPO (stable‑baselines3) and comparative experiments with RLlib for benchmarking.

 

The PoC has given encouraging results: in the test instances, the agents demonstrated reductions in the makespan and improved resource use compared with random and greedy policies, prompting continued development and fine-tuning of the agents.

Recent news