Modern manufacturing facilities transitioning toward decentralized production control face a structural dilemma in workforce scheduling. In conventional manufacturing environments, workforce rostering relies on a fixed baseline production schedule to plan personnel coverage. However, decentralized control architectures allocate and sequence jobs dynamically without advance baseline schedules, while human operators cannot remain continuously stationed on the factory floor like machines. To address this coordination gap, researchers have developed Sim4PEP, a Python-based open-source framework that combines flexible job shop simulation with genetic-algorithm optimization to generate individualized worker rosters for automated factories.
The methodological framework operates by integrating discrete-event simulation with an evolutionary optimizer to resolve the operational tension between production flexibility and advance personnel planning. Rather than maintaining rigid two-shift or three-shift systems that enforce continuous availability, the system evaluates candidate schedules by simulating production dynamics and quantifying the costs incurred by worker deployment, operational delays, and deviations from individual employee preferences. This architecture reflects evolving workplace dynamics in industrialized manufacturing, where personnel shortages and shifting employee priorities surrounding self-determination and work-life balance make conventional shift structures increasingly difficult to sustain.
Architecturally, the software is constructed as a three-tier modular system designed to support both standalone job shop simulations and full workforce optimization experiments. The foundational tier, designated as Sim4FJS, creates problem instances and executes simulations and visualizations of flexible job shop problems using the open-source SimPy library without human tasks. The central tier, Sim4PEP, inherits and expands these modules to incorporate manual activities, stochastic disturbances, and fluctuating operational durations. Within this second tier, a dedicated component named Sim4PEP.GA conducts evolutionary optimization using the DEAP library. The final top tier provides an experimental command-line interface for running single or batch optimization benchmarks locally.
The optimization mechanism evaluates candidate rosters through an objective function that aggregates worker attendance costs, delay costs for tardy operations, and penalty costs representing discrepancies between scheduled intervals and employee-preferred working hours. When stochastic conditions are modeled, the objective function calculates the arithmetic mean of these costs across multiple simulated scenarios. The total fitness function further integrates penalty terms that penalize overtime and rosters that fall short of required operational durations. Candidate deployment intervals are represented as variable-length chromosomes comprising nested lists of individual worker shifts, where neither the interval quantity nor the planning horizon remains fixed.
To navigate this non-convex search space, the genetic algorithm applies specialized genetic operators tailored to variable-length chromosome representations across multiple workers. The evolutionary pipeline employs adapted tournament selection, alongside two distinct crossover operations: an adapted messy cut-and-splice crossover and an adapted simulated binary crossover. Chromosome mutations include Gaussian mutations that adjust interval start times and durations, as well as structural mutations that insert new deployment periods into gaps or divide continuous intervals with required breaks. Following these genetic manipulations, the software applies a mandatory sequence of deterministic repair operators to preserve chromosome integrity and enforce statutory labor limits, including minimum rest periods, maximum shift lengths, and mandatory break intervals.
The underlying simulation model accommodates operational complexities through multi-mode job shop scheduling instances extended by manual operations and stochastic variability. In stochastic analysis runs, manual task durations are sampled from configurable log-normal distributions, while operational disturbances are distributed uniformly across machine processes to generate unexpected manual labor demands and prolong machine cycles. To ensure software reliability, the implementation includes approximately 180 automated regression tests spanning instance parsing, simulation engine execution, disturbance generation, and evolutionary operator logic, with smaller instances asserted against exact analytical targets and larger configurations verified against fixed-seed regression baselines.
In benchmark comparisons against conventional rigid three-shift systems, the framework demonstrated measurable reductions in overall deployment costs across standard multi-mode scheduling problems. In deterministic test scenarios, the optimization achieved cost savings reaching up to approximately 35 percent compared to traditional three-shift baselines. In stochastic case studies, savings were comparatively lower due to operational disruptions. Across a published suite of four benchmark instances comprising both deterministic and stochastic conditions, the framework achieved an average cost reduction of 20 percent, primarily driven by reduced worker attendance costs and enhanced congruence with preferred working times.
Detailed benchmark evaluations show substantial performance variations across specific deterministic and stochastic operational environments. On the deterministic benchmark instance BMk15-d-1, Sim4PEP lowered the total fitness cost from 4,612 euros under a three-shift system to 3,340 euros, achieving a 27.6 percent improvement within an execution runtime of 136 seconds and a peak memory consumption of 401 megabytes. Its stochastic counterpart, BMk15-s-1, reduced the fitness cost from 4,841 euros to 4,713 euros, representing a 2.6 percent improvement while requiring 6,667 seconds of runtime and 1,021 megabytes of peak memory on the reference test system.
A parallel comparison on the benchmark instance D15a-d-1 produced a cost reduction from 6,322 euros to 3,786 euros, representing a 40.1 percent improvement in 202 seconds with 552 megabytes of peak memory usage. Under stochastic conditions on instance D15a-s-1, fitness costs decreased from 6,257 euros to 5,588 euros, corresponding to a 10.7 percent improvement, while computational duration expanded to 17,544 seconds with 1,537 megabytes of memory usage. These measurements, obtained on a CPython platform under standardized hardware configurations, demonstrate that computational runtimes scale substantially when evaluating stochastic simulation scenarios.
The researchers noted specific technical boundaries and limitations inherent to the framework’s simulation-based optimization approach. Because the genetic algorithm relies on stochastic search heuristics, output rosters vary across different random seeds, exhibiting coefficients of variation between five and eleven percent across benchmark instances. Furthermore, solutions generated under stochastic scenarios demonstrate wider variation than rigid three-shift baselines, indicating reduced schedule robustness. The methodology also requires highly detailed operational inputs, including empirical manual process distributions, which may not always be accessible in practical manufacturing deployments.
Beyond the native genetic algorithm implementation, the framework architecture deliberately decouples the underlying job shop simulation and cost evaluation function from the optimization solver. Because the discrete event simulation module and candidate scoring routines function independently of the evolutionary engine, researchers can replace the genetic algorithm with alternative optimization techniques. The codebase provides dedicated replacement interfaces allowing investigators to integrate alternative metaheuristic algorithms, reinforcement learning frameworks, or specialized manual scheduling heuristics without modifying the core simulation logic. This modular separation ensures that the extended job shop model, incorporating manual operational tasks, stochastic machine disturbances, and multi mode resource allocations, remains accessible as a standardized testbed for diverse algorithmic approaches to decentralized industrial scheduling.
During experimental execution, the evolutionary search operates as an iterative problem solving loop governed by explicit termination criteria. Optimization terminates either upon reaching a user defined maximum generation count or when the objective fitness fails to show improvement over a configurable number of successive generations. Upon completion, the system produces a comprehensive report detailing the optimal roster identified alongside an itemized expenditure breakdown that isolates regular labor expenses, overtime surcharges, and order delay penalties. The software also outputs graphical visual charts depicting the sequence of machine processing operations and operator assignments, supported by complete chronological log files capturing the optimization progression. Facilities seeking only operational assessment can bypass the evolutionary optimizer entirely to execute standalone simulation experiments under predetermined deployment configurations.
To confirm that observed cost reductions reflect systematic algorithmic convergence rather than arbitrary sampling effects, the investigators evaluated the optimization trajectory against an unguided random search assessing an equivalent volume of candidate plans. Across iterative generations, the genetic algorithm systematically outperformed the random search baseline, demonstrating rapid fitness improvements over rigid reference schedules within a few initial cycles. To foster scientific reproducibility and support future benchmarking across the operational research community, the researchers published the full suite of multi mode benchmark instances alongside their computed solution profiles in an open repository. These public datasets incorporate comprehensive hardware runtime measurements and peak memory consumption statistics, establishing standardized baseline reference points for subsequent investigations into decentralized production rostering.
The structural integrity of candidate chromosomes is reinforced by a sequential execution of automated repair operators applied immediately following genetic crossover and mutation. These procedural checks comprise five primary operational rules designed to enforce minimum deployment interval durations, minimum mandatory breaks, maximum working hours permitted per shift, maximum overall shift lengths, and minimum required rest periods between consecutive shifts. Complementing these statutory constraints, two auxiliary operators maintain chromosomal syntax without unnecessary structural perturbations. Because legal working time frameworks vary substantially across international jurisdictions, all repair thresholds are structured as configurable parameters within external configuration files. This parameter based architecture allows industrial practitioners to align optimization routines with specific national labor statutes while ensuring that every returned individual represents a legally compliant schedule within the feasible search space.
The software framework additionally accommodates specialized personnel qualifications, allowing individual workers to be assigned specific skill profiles that restrict or enable particular manufacturing operations. Looking ahead, the researchers highlighted key potential extensions to expand practical shop floor utility. While the current model formulates initial schedules prior to execution, future development could incorporate dynamic plan revision capabilities to resolve unforeseen operational disruptions, such as unexpected short term worker absenteeism caused by illness. Such adaptive rescheduling mechanisms would reinforce production resilience, bridging the remaining gap between predictive algorithmic rostering and real time decentralized factory management.
Subject of Research: Simulation-based genetic algorithm optimization for industrial workforce rostering in decentralized production environments
Article Title: Sim4PEP: Rostering workforce in Industry 4.0
Article References: Schwemmer, J., Günsel, C., Wegner, F., Kühn, M., & Schmidt, T. (2026). Sim4PEP: Rostering workforce in Industry 4.0. SoftwareX, 36, Article 103241. https://doi.org/10.1016/j.softx.2026.103241
Image Credits: AI Generated
DOI: 10.1016/j.softx.2026.103241
Keywords: Sim4PEP, workforce rostering, Industry 4.0, genetic algorithm, discrete-event simulation, flexible job shop, SimPy, DEAP, decentralized production control, shift scheduling, manufacturing optimization, stochastic simulation, worker preferences, labor cost reduction, production management, operations research
News Source: Denise Maddox. (November 24, 2026). Simulation Framework Optimizes Decentralized Industrial Workforce Rostering Beyond Rigid Shifts. Scienmag.



