Skip to Content
  • Article
  • Open Access

15 September 2026

47 Pages

Context-Aware LLM-Guided Neighbourhood Search for Simulation-Based Production Scheduling

Institute of Logistics, University of Miskolc, H-3515 Miskolc-Egyetemváros, Hungary
This article belongs to the Section Learning

Abstract

The paper presents a novel large language model-based neighbourhood search method for production scheduling using discrete-event simulation (DES) as the modelling and evaluation engine. The combination of large language models (LLMs) and DES represents a relatively new area of research with significant potential. The current study aims to demonstrate the applicability of LLMs for the automated closed-loop optimisation of production systems, using the DES environment as a configurable modelling tool and an evaluation engine at the same time, from which the results and the related contextual information are extracted at the end of each simulation run to provide feedback and context for the LLM in its autonomous search for improved solutions. The architecture was implemented with the use of Mistral Small 3.2 (24B) as the LLM and Siemens Tecnomatix Plant Simulation as the DES environment. The results from the proposed approach were compared with those of a genetic algorithm (GA) native to the applied DES environment, and with those achieved using simulated annealing (SA). While the proposed method was generally outperformed by the GA and the SA in terms of final solution quality and computational cost, it demonstrated advantages in terms of simulation demand while also providing a highly adaptable optimisation framework with significant potential for improvement and wider generalisation in the future.

1. Introduction

The application of large language models has become a major focus area in almost every scientific field in the recent period. One specific research domain where their utilisation is still relatively less explored is the area of discrete-event simulations. The defining attribute of these types of simulations is that they utilise a sequence of events for the modelling of a system, which also represents the changes in the model states. This makes the DES paradigm especially suitable for the modelling of large and complex systems with discrete operational states, such as production systems, material flow systems, telecommunication networks, patient-flows in healthcare, etc. The combination of DES and LLMs arose as a straightforward possibility from the previous, as LLMs excel in the identification and analysis of complex patterns such as those that characterise the operation of the above-mentioned systems.
The current paper presents a novel approach and a related framework for the combination of DES and LLMs with the aim of production scheduling optimisation, one of the typical application areas of the DES paradigm. A key characteristic of the proposed method is that the LLM executes a context-aware neighbourhood search on the space of possible production sequences, based on the information received from the discrete-event simulation model during each iteration step. Although this type of approach has rarely been tested, it provides unique insights into the capability of LLMs for understanding the underlying connections inherent in complex simulation models, demonstrating significant potential for future applications. In the current study, the proposed approach was tested on a typical compact production system layout implemented in Siemens Tecnomatix Plant Simulation, and the results of the optimisation runs were compared against those of an in-built genetic algorithm-based optimiser and also against those of a simulated annealing algorithm implemented in Python. These tests revealed valuable insights into the strengths and weaknesses of directly using LLMs for production schedule optimisation, while they also helped to identify multiple possible research directions. Altogether, the outcomes of the study provide multiple useful findings for guiding future research in this nascent but scientifically and practically important sub-field of LLM research.
The paper is comprised of seven sections. After the current introduction, in Section 2 the literature for the combined application of LLMs and DES is explored. Section 3 provides a general mathematical description of the production scheduling problem, while Section 4 presents the detailed description of the proposed approach and the related implementation framework. Section 5 presents the results of the optimisation runs with the proposed method, while Section 6 contains the discussion of the findings. Finally, the conclusions from the study are drawn in Section 7.

2. Combined Application of LLMs and DES in the Literature

Complex production planning, scheduling and plant-design problems have traditionally been addressed through a broad range of optimisation approaches, including both mathematical optimisation and simulation-based methods. Depending on the formulation of the optimisation problem, these approaches range from exact mathematical methods to metaheuristics and hybrid methods. While exact approaches guarantee optimal solutions, they often face computational limitations as problem complexity increases. In contrast, metaheuristics offer high-quality solutions with lower computational demands, though they do not guarantee a global optimum.
Various conventional optimisation approaches have been investigated in the context of complex production and process-engineering problems. Ponsich and Coello, for example, evaluated Differential Evolution for mixed-integer constrained process-engineering problems, comparing its performance with branch-and-bound and a genetic algorithm [1]. More directly in the context of simulation optimisation, de Carvalho Miranda et al. developed an adaptive genetic algorithm for the optimisation of discrete-event simulation models in manufacturing environments [2]. Hybrid approaches have also been investigated, including the matheuristic method proposed by Verbiest et al. for multiproduct batch-plant design [3]. In addition to algorithmic developments, computational acceleration represents another important research direction: Borisenko and Gorlatch compared GPU-parallelised metaheuristics with branch-and-bound for batch-plant optimisation [4] and subsequently investigated GPU-parallelised metaheuristics combined with parameter tuning [5]. These studies demonstrate the broad range of conventional optimisation strategies applicable to complex production and plant-optimisation problems, as well as the continuing importance of balancing solution quality, computational requirements and scalability.
Alongside these established optimisation approaches, the recent development of large language models has introduced new possibilities for supporting simulation modelling and optimisation through context-aware analysis and decision-making. Within this emerging research direction, several studies have investigated the combined application of LLMs and discrete-event simulation, particularly in material flow and manufacturing systems.

2.1. Examination of the Existing Literature on the Combined Application of LLMs and DES

Fei et al. presented an AI-assisted intelligent discrete-event simulation platform for manufacturing systems [6]. Their proposed architecture incorporates both simulation model generation and optimisation, although the latter relies on a single analytical step where the LLM evaluates the simulation results. In the provided case study, the authors utilised Claude model 3.5 Sonnet from Anthropic as the AI agent.
Reider and Lang presented a conceptual framework for automated simulation model generation (ASMG) in the field of production logistics, based on the application of generative AI [7]. Their framework is focused on the automated generation of simulation models based on knowledge bases, on user and on system prompts, though the iterative optimisation of the generated models would also be part of the functionality of the system. However, their study did not go beyond the conceptual phase in terms of implementation.
Li et al. presented a large manufacturing decision model (LMDM) architecture for human-centric decision-making [8]. Their approach combines LLMs with diffusion models to efficiently reconfigure manufacturing systems based on graphical and language inputs. Digital twin technology is applied for evaluating the decisions made by the LMDM and providing it with feedback (in the given example, a DES model implemented with Python was used to partially realise the functionality of the digital twin).
Jackson et al. applied the GPT-3 Codex for the automated generation of logistics simulations [9]. In their approach, the LLM produces executable Python code for the modelling of a given system, based on the input prompts and the provided model parameters. A number of simulation models created this way followed the discrete-event principle in their operation [9].
Frydenlund et al. also explored the possibility of using an LLM for simulation model generation as executable code [10]. In their research, they applied ChatGPT for this purpose. They asked the LLM to generate simulations in three modelling paradigms: discrete event, system dynamics and agent-based modelling. Their results showed that LLMs may not be fully effective in this form of simulation model generation at the time of the publishing of the paper, but they certainly have the potential for future improvements [10].
In their study, Romero-Guerrero et al. used ChatGPT for automated layout generation based on industrial drawings and documents [11]. Based on these inputs, the LLM generated code for FlexSim, a widely used discrete-event simulation environment. The results showed that this approach can aid in streamlining the simulation modelling process, especially when larger and more complex models are considered.
Elbasheer et al. also applied an LLM for the purpose of ASMG [12]. They presented a four-stage approach, in the implementation of which Siemens Tecnomatix Plant Simulation was used during model construction and execution. The authors applied Qwen 2.5 Coder in the role of the LLM. A main advantage of the proposed approach is that it facilitates ASMG based on the use of natural language, not requiring specific domain knowledge in simulation modelling.
Cirilli et al. presented a complex multi-agent-based scheduling framework for the automated generation of operational schedules from unstructured knowledge bases, mainly using LLMs for the implementation of the agents [13]. The scheduler agent also relies on a multi-objective heuristic search algorithm built with the NumPy and Pandas Python modules. A significant advantage of their method is that it can automatically generate schedules based on technical and operational manuals, which has clear industrial application potential. The authors demonstrated the application of their framework on a complex maritime case study.
Schmidt et al. presented a comprehensive generative AI-based framework for the automated generation, adaptation and evaluation of DES models in manufacturing [14]. The results proved that the method can successfully generate, adapt and evaluate simulation models, though not completely without errors, with the model generation phase being the most affected in this respect. Overall, the study proved that LLMs can be successfully applied for automated model generation, adaptation and evaluation with the support of a properly designed workflow and human-in-the-loop mechanisms.
Korth et al. presented a complex framework for supporting the simulation and exploration in production control and planning with LLM integration [15]. Their approach comprises four distinct modules aimed at supporting the simulation runs. Each of the supporting modules is integrated with the LLM, which in the conducted experiments was Meta Llama 3.1 70B. The results from the experiments demonstrated the applicability of LLMs as virtual assistants that can effectively support the simulation modelling process.
El Baz et al. presented an agentic optimisation framework integrating LLMs and DES for the solution of the storage location assignment problem in a forklift warehouse [16]. Their approach uses an LLM-based agent supported by human feedback for the creation of a Mixed-Integer Linear Programming model, which is then converted into executable Python code and solved with a commercial MILP solver. The results are evaluated with the application of a DES model. The conducted experiments demonstrated that the proposed method achieved clear improvements compared to the operational baseline.
Dehghani presented a framework named SimGPT, which integrates the Simio discrete-event simulation platform with LLMs (ChatGPT and Gemini) [17]. The most unique feature of the approach is that it allows the real-time integration of the LLMs with the simulation platform, which facilitates AI-supported decision-making during the actual runtime of the simulations. The proposed framework was tested on multiple case studies from different sectors, and these tests demonstrated the versatility of the approach from multiple aspects. One notable result was that in case of real-time job dispatching, the LLMs were able to outperform both three classical heuristics and two state-of-the-art metaheuristic optimisers.
Alshareef presented a framework for a bootstrapping, LLM-integrated iterative simulation generation and refinement method that also incorporates the use of the systems modelling language (SysML) and the discrete-event system specification (DEVS) formalism [18]. A main advantage of the proposed approach is that it enables the rapid development of executable simulation models from minimal textual input, with substantial automation of key steps [18]. The applicability of the method was demonstrated on a wafer fabrication example and on a large number of other examples from various domains as well.
Kute et al. also presented a framework for automated simulation model generation using LLM integration [19]. In their approach, the structured output of the LLM is evaluated and processed by a Python interpreter, which then instantiates the model in Siemens Tecnomatix Plant Simulation through the component object model (COM) interface. The optimisation of the model by the LLM is also a part of the functionality of the proposed framework, but at the time of writing of the paper the optimisation mechanism was in a conceptual phase and was manually guided by the user.
May et al. presented a framework for contingency management in production control based on the application of agentic LLMs [20]. In their approach, they used a localised LLM to collect past and current decision reasonings, sensory and simulation data in order to either derive a decision or a decision rule by the LLM itself (acting as an autonomous agent), or propose contingency management reactions for the human decision makers. For the validation of the proposed method, the Intel MiniFab was used as the underlying model simulated with Python.
Straka et al. examined the application of LLMs for autonomous model creation, output estimation from process descriptions and parameters, and copilot-guided manual building [21]. Specifically, they examined the application of Perplexity.ai and ChatGPT 5.2 in discrete-event simulation using ExtendSim 10 Pro 2024. Their results showed that while the LLMs could not autonomously design simulation models due to the lack of API (application programming interface) integration and produced a number of errors during output estimation, they can effectively accelerate model development for experienced users with the copilot-guided approach.
Premkumar et al. introduced three critical design principles for the integration of resilience and oversight into LLM-assisted Digital Twin development workflows [22]. These principles emerged from the iterative development and refinement of FactoryFlow, the authors open-source framework for building simulation-based Digital Twins of manufacturing systems using the DES paradigm with the integration of LLM-assisted structural modelling [22].
Thogaru et al. presented a closed-loop multi-agent framework named Warehouse AI for the planning and optimisation of warehouses, based on the combined use of DES, LLMs and knowledge-graph construction [23]. The agents in the framework are organised with the application of a LangChain hierarchy comprised of six specialised agents. The simulations themselves are realised using SimPy. The authors demonstrated the applicability of the framework using three different simulation scenarios and with clear positive results in all cases.
Wagenitz et al. proposed the combined application of LLMs and DES for risk detection and evaluation related to disruption risks for globally dispersed, project-driven supply chains [24]. Their approach is based on the automated generation of simulation blueprints by the LLM, based on the disruption signals received by the latter. The generated simulations represent two scenarios, a baseline and a disruption scenario. The simulation generation is realised using SimPy, while the risk evaluation itself is based on Monte Carlo experimentation. The authors demonstrated the applicability of the approach through a case study on Red Sea piracy disruptions.
While the previously discussed literature has concentrated on the application area of material flow systems (mostly manufacturing and production systems), it is important to highlight that the combined use of DES and LLMs extends to a much wider variety of applications, as illustrated by the following studies.
Jadhav et al. examined the potential of using LLMs for High-Performance Computing (HPC) job scheduling [25]. In their approach, the HPC environment was modelled with a discrete-event simulation, while LLMs were applied to make job scheduling decisions. The results derived from multiple simulated scenarios showed that on the one hand, LLMs can be effective at making job scheduling decisions in complex HPC environments, but on the other hand, current cloud-based LLM services impose significant latency constraints limiting real-time deployment, though there is a clear potential for further improvement.
Miski et al. applied an LLM-based automated simulation generation approach for the modelling of healthcare systems [26]. They modelled two types of systems, a skin care clinic and a complex medical care facility. The LLM was applied to produce simulations in the form of Python codes based on the user prompts. The results of these simulations were compared with those from Arena, a widely utilised discrete-event simulation software. The overall results of the comparison showed that the LLM was able to achieve similar results produced by the DES environment, while it also successfully determined the optimal resource allocation to minimise costs and at the same satisfy the patient waiting time constraints.
Diamatopoulos et al. presented a conceptual framework for the LLM-augmented discrete-event simulation of blockchain systems [27]. In their concept, the application of LLMs together with DES for blockchain modelling can have two main use cases: dynamic simulation scenario generation and malicious node modelling and cooperation attacks. In the proposed conceptual architecture, the blockchain simulator SymBChainSim would interface with two LLMs which would implement the previously described functionalities.
Katale et al. presented a hybrid simulation framework integrating DES, microscopic pedestrian simulation and LLMs for the analysis of the propagation of cyber disruptions through passenger-facing airport operations [28]. The DES layer in the framework models the service processes, while the pedestrian layer models the passenger movements. The role of the LLM is to generate post-security decisions in relation to the passengers. The framework was evaluated through a case study with one baseline and multiple disruption cases. The results of this case study and additional validations demonstrated the ability of the framework to produce plausible disruption patterns [28].
Monks et al. applied LLM-based automated simulation generation for a unique purpose, to recreate published discrete-event simulation models using Free and Open-Source Software (FOSS) based on the descriptions available in academic journals [29]. They specifically focused on models found in Healthcare Operations research. They proposed a four-stage approach for model recreation and successfully recreated two simulation models (a critical care unit and a stroke pathway capacity planning model) using Perplexity as the LLM, and Python 3.10 and SimPy 4 codes as output formats.
Mattar et al. proposed a fog-based architecture integrated with an LLM to safeguard the confidentiality, integrity, and availability of outsourced cloud data [30]. As part of the operational pipeline of the framework, the LLM executes a multi-phase reasoning process that includes load analysis, security scrutiny, Quality of Service (QoS) prioritisation and scheduling recommendations, based on the previously gathered context vectors. The LLM continuously refines its decision boundaries based on user-defined policies and observed network performance. The framework is evaluated with a custom edge-cloud discrete-event simulator built on Python 3.9 [30].
In their paper, Liu et al. explored how the integration of agent-based modelling (ABM) with LLM-driven autonomous agents can have a transformative effect on social simulation, especially in the context of the United Nations sustainable development goals (SDGs) [31]. They proposed a framework for the integration of LLMs into ABM, the core engine of which manages a discrete-event simulation environment. They provided a detailed description of the proposed framework and explored its application possibilities in policy co-creation, inclusion, and automation.
Neto et al. presented an LLM-based tool called GEM DEVS Chat for the specific purpose of assisting developers in understanding DEVS models within a simulation project [32]. The tool was designed to aid in the understandability of models written in DEVS Natural Language (DNL) and deployed on the MS4 Me platform. They demonstrated the applicability of the approach through a controlled experiment involving eight students. The results proved that the students who used the framework were indeed able to understand DEVS models more quickly and accurately.
Vicente-Martínez et al. proposed a Conversational Digital Twin Framework (CDTF) that integrates generative AI with simulation-based decision support for the aid of operational planning of large-scale events [33]. Their framework consists of four layers: a data integration layer, a simulation engine combining machine learning and DES components, a conversational AI interface and a visualisation layer for reports and dashboards. In the concrete implementation, the simulation engine was realised with the application of Random Forest models and DES components. The proposed framework was evaluated through a case study focused on the Gran Canaria Stadium.
Besides of the previously discussed literature, it is also important to note that another significant application area of DES is the modelling and optimisation of LLM inference serving, which can be found in multiple studies, for example in the papers of Patel et al. [34], More et al. [35] and Jaiswal et al. [36], among others. While this is an especially important field of application connected to LLMs in general, it does not directly relate to the topic of the current study, which is focused on the direct combination of LLMs and DES for solving optimisation problems.

2.2. Contributions of the Current Study

As can be seen from the analysed literature, a significant number of studies focused on automated simulation model generation with the aid of LLMs. While these frameworks often contain optimisation features as well, these are usually realised in the form of recommendations made by the LLM for the human evaluators, often based on a single analytical phase of the simulation model. A number of studies applied discrete-event simulation as a modelling tool used in the evaluation of the performance of LLMs in sector-specific applications, for example in case of [28,30]. Some studies also employed LLMs as interactive agents in the simulation model, for example in the case of [17,26]. While the latter represents a form of automated optimisation of model parameters by the LLMs, the closed-loop autonomous LLM-based optimisation of fixed model attributes through an iterative improvement process using consecutive simulation runs remains largely unexplored. One exception to this is the work of Thogaru et al. [23], in which the proposed architecture is capable for the autonomous iterative improvement of the simulation model based on the evaluation results of the previous cycle, but it is based on the use of multiple agents, knowledge graphs, graph reasoning and a LangChain, and is also focused more on warehouse planning. In contrast, the current work can be viewed more as a metaheuristic guided by a single LLM-agent. Recently, LLM-guided neighbourhood search approaches were proposed by others as well, for example in [37], but these methods optimise scheduling problems directly rather than through a discrete-event simulation model and for this reason do not incorporate simulation-derived operational feedback. Therefore, the contributions of the current study can be summarised as follows:
  • Demonstration and proof-of-concept of the LLM-based closed-loop autonomous optimisation of fixed model attributes through iterative improvement using consecutive simulation runs, based on the application of a single LLM-agent and structured textual information. In the present study, the optimised attribute is the pre-planned production schedule of the manufactured parts in the model. The proposed optimisation algorithm can effectively be described as a context-aware LLM-guided neighbourhood search heuristic.
  • Detailed description of the presented LLM-guided scheduling framework, including the architecture and the principal technical solutions employed in its proof-of-concept implementation.
  • Identification of the observed advantages of using LLMs in the aforementioned way for the optimisation of discrete-event simulation models, based on the comparison with two standard heuristic approaches (genetic algorithm and simulated annealing) serving as benchmark methods. The comparison itself is realised through a series of optimisation runs executed using all three methods.
  • Identification of future research directions and exploration of the application potential of the proposed LLM-based optimisation approach, including its applicability to a wider scope of problems.

3. Description of the Production Scheduling Problem Examined in the Current Study

The production scheduling problem is one of the classic problems of operations research, one which is also fundamentally important for the manufacturing sector. While it can have many variations, in the followings the standard mathematical description of the problem will be given. Let:
J = { 1,2 , … , n }
be the set of jobs (parts) and
M = 1,2 , … , m
be the set of machines (stations).
Each job j consists of an ordered sequence of operations:
O j = ( o j 1 , o j 2 , … , o j k j )
and t j i denotes the processing time of operation i of job j .
The decision variable is the production sequence:
π = ( π 1 , π 2 , … , π n )
where π r ∈ J represents the job released in position r .
The primary objective is minimising the makespan:
C m a x ( π ) = m a x j ∈ J   C j ( π )
where C j ( π ) is the completion time of job j as a function of π .
The optimisation objective is therefore:
π ∗ = a r g m i n π ∈ Π   C m a x ( π )
where Π is the set of feasible production sequences.
Usually, each job represents a concrete manufacturing process, as is the case in the current study. Therefore, operations of a job must follow their prescribed route, which can be formulated as the following constraint:
S j , i + 1 ≥ C j , i
where S j , i is the start of operation i and C j , i is the completion time of operation i.
In the current study, the transportation of the parts is modelled with the application of workers for added realism. In addition, each manufacturing station can only work on one part at a time. It is also important to note that there is a total of 64 parts in the production schedule, which all have to be finished at the end of a simulation run. Therefore, the objective function (6) in the current study is also subject to the following constraints besides (7):
  • machine-capacity constraints,
  • worker-availability constraints,
  • completion of all 64 parts.
While the total number of parts is 64, these are comprised of eight types of parts, and there are eight pieces from each type. Therefore, the production sequence in the current problem is a permutation of a multiset. Because of this, the total number of possible production sequences can be calculated as:
64 ! ( 8 ! ) 8
It is evident that this is an astronomical number which makes a brute-force exact simulation-based approach (or any other brute-force exact modelling approach) impossible. At the same time, production scheduling problems like this represent a crucially important problem-set for virtually every manufacturing company. These are exactly the reasons why heuristics and metaheuristics—such as the method proposed in the current paper—are often necessary for solving this type of problem, and why production scheduling is one of the key application areas of DES based modelling supported by optimisation algorithms.

5. Presentation of the Results from the Optimisation Runs with the Proposed Method and the Comparison with the Results from the GA and the SA

5.1. Description of the Parameter Settings Applied During the Optimisation Runs

To evaluate the performance of the proposed context-aware LLM-guided neighbourhood search method, a series of optimisation runs were conducted using the developed scheduling framework. These were then compared with the results of the GA native to the discrete-event simulation environment and with those of an SA algorithm implemented in Python (version 3.13.14). All optimisation runs were completed using the following hardware configuration: Intel(R) Core(TM) i9-14900KF (3.20 GHz) processor, NVIDIA GeForce RTX 4070 Ti SUPER (16 GB) graphics card, 128 GB (4000 MT/s) memory. In all of the conducted experiments, the LLM-guided optimiser was used with the following main parameter settings shown in Table 1, whose numerical values were determined through a series of preliminary experiments:
Table 1. The main parameter settings applied during the optimisation runs with the proposed method.
Preliminary experiments indicated that the LLM temperature affected the balance between conservative local refinement and more diverse exploration. A temperature of 0.5 generally produced more conservative and stable candidate proposals, while increasing the value to 0.7 increased candidate diversity but also resulted in less consistent search behaviour. Therefore, the intermediate value of 0.6 was selected for the final experiments as a compromise between stability and exploration. Similarly, the stagnation threshold influenced how readily the optimiser switched from local refinement to diversification. Lower thresholds activated diversification more frequently, while higher thresholds allowed longer exploitation of the current neighbourhood and consequently increased the possibility of stagnation. Based on the preliminary experiments, a threshold of 3 provided the most suitable balance between these behaviours. Increasing the candidate pool sizes improved the probability of obtaining a useful candidate in each iteration, but simultaneously increased the number of required simulation evaluations and the overall optimisation time. Finally, the restart threshold of 10 was selected to allow several diversification attempts before returning to the initial production sequence.
During the testing of the developed simulation model, it was determined that at least three workers are needed with the applied worker dispatching rule to avoid any deadlock situation that would prevent the completion of the full production schedule. While this is the minimum requirement, the number of workers could be increased arbitrarily, therefore an evaluation run comprised of single simulation experiments in the DES environment was conducted using the initial alphabetical production sequence and a worker count ranging from three to 10. The goal was to determine how the increase in the number of workers affects the makespan in case of the initial production schedule. The results of this evaluation run are presented below in Table 2:
Table 2. The effect of the worker count in the simulation model on the makespan using the initial production schedule.
As Table 2 clearly shows, there is a minor improvement (slightly less than 11 s) in the makespan when four workers are used compared to three, and an even smaller improvement (about 5 s) when five workers are used instead of four. However, using more than five workers does not have any additional effect on the makespan, as it remains at the level reached when five workers were applied. This clearly shows that the main bottlenecks arise from the production schedule itself, and from the utilisation characteristics of the individual manufacturing stations. Based on these results, it was decided that the series of optimisation runs with the proposed method would be conducted primarily with three workers, and additionally with four and five workers as well to properly explore the effect of the worker count on the makespan, and also to provide additional comparison with the initial three-worker run. Each complete optimisation run series contained 10 individual runs, the latter comprised of 100 optimisation iterations each in accordance with Table 1.
In addition, a series of optimisation runs with the GA were conducted as well with the same worker settings in order to provide one of the benchmark methods for comparison. It is important to note that the simulation model itself was deterministic, and the GAWizard was executed repeatedly using the same optimisation settings and default genetic operators. No fixed random seed was manually specified. Under these conditions, the GA produced reproducible optimisation results, including the same final best solution and the same simulation count for any given makespan threshold. Multiple GA runs were nevertheless conducted because the threshold (defined in the EndSim method) was configured separately for each target makespan value; therefore, each run was used to determine the simulation count corresponding to one specific threshold. All GA optimisation runs used the following main parameter settings: number of generations: 1000; elitism count: 5; generation size: 23 (the latter was determined by evaluating multiple sizes between 10 and 100, with 23 proving to be the most efficient). Appendix B shows how these parameters were set in the GAWizard (Figure A1 and Figure A2). The optimisation parameter was the production sequence, while the fitness value was defined by the simulation time of the event controller. The results of the experiment series with both the proposed LLM-guided neighbourhood search method and with the GA will be presented in the followings.
Finally, 10 optimisation runs were also conducted for each worker setting using a simulated annealing algorithm. This type of algorithm was specifically selected because it also implements a neighbourhood search-based optimisation approach, but without the contextual information layer utilised by the LLM for making context-driven decisions. To make the comparison even more straightforward, the SA utilises the same types of neighbourhood search operators as the LLM-based method (move, swap, reinsert block, reverse, swap blocks). The implementation of the SA optimiser was also based on the communication interface developed for the simulation side of the LLM-guided optimiser, but the local LLM and the algorithm presented in Figure 4 were replaced with the simpler SA algorithm. All experiments with the SA were conducted with the following main parameter settings shown below in Table 3. The applied parameter values were selected to provide gradual cooling and a sufficiently extensive exploration of the solution space within the predefined evaluation budget:
Table 3. The main parameter settings applied during the optimisation runs with the SA.
The move, swap, reinsert block and reverse operators were assigned equal selection weights of 1.0, while the swap blocks operator was assigned a weight of 0.5. After each candidate evaluation, the temperature was multiplied by the cooling rate until the specified minimum temperature was reached. Improving solutions were accepted directly, while worsening solutions were accepted probabilistically according to the conventional SA acceptance criterion based on the objective-value difference and current temperature.

5.2. Results of the Optimisation Run Series Using Three Workers in the Simulation Model

The initial optimisation run series with the proposed method were conducted with the application of three workers in the simulation model. One of the first questions that naturally arises regarding the results is the required optimisation time of the proposed method. The following Table 4 presents the optimisation time data based on the 10 conducted optimisation runs with three workers:
Table 4. Statistical parameters of the optimisation time based on the 10 initial optimisation runs with the LLM.
As expected, these results represent more than an order of magnitude greater optimisation time than in case of the GA, as all optimisation runs with the latter fall between the 150–210 s range in terms of duration (as mentioned, the GA always produced the same exact final result, so the only reason multiple runs were conducted was to determine the required simulation counts needed to reach multiple intermediate makespan thresholds). It is also important to highlight that the statistical parameters presented in Table 4 can only be viewed as approximate data, as the wall-clock time needed for the completion of an optimisation run by the scheduling framework is affected by several hardware- and system-dependent factors which are outside the control of the experimental setup. These include thermal management, background operating system load, operating system scheduling and the communication overhead between Python and Plant Simulation. Still, what can be stated with certainty is that the GA is at least an order of magnitude faster, which mainly stems from the resource-intensive nature of using a locally deployed LLM (it is worth noting that the completion of a single simulation experiment during an optimisation run also takes somewhat more than 2 s, but this mostly stems from the repeated initialisations of the simulation model and from the communication overhead, as the simulation can be executed considerably faster from inside the software environment).
When compared against the SA, the difference is smaller, but it still takes more than three times longer to complete an optimisation run with the LLM, as it can be seen from the results in Table 5 below:
Table 5. Statistical parameters of the optimisation time based on the 10 initial optimisation runs with the SA.
It must be noted that an SA optimisation run under the applied settings always contained 3000 simulation evaluations, while an optimisation run with the LLM involved somewhat more than 670 on average, which further magnifies the efficiency advantage of the SA broken down to a single simulation evaluation. However, the results of the comparison become much more nuanced when the actual number of completed simulations during the optimisation runs are compared considering the achieved makespan thresholds. The diagrams in Figure 6 below shows the result of this comparison:
Figure 6. Comparison of the average results of the proposed LLM-guided method (blue diagram) with the discrete results of the GA (orange diagram) and with the average results of the SA (red diagram) when using three workers in the simulation model (the horizontal axis represents the makespan [s] and the vertical axis represents the required simulation runs).
As the diagrams clearly indicate, while the GA reached the best overall solution, it required for example more than 10,000 single simulation runs to reach the 14,400 s makespan threshold. Additionally, it required 14,657 simulation runs to achieve its best result, which was 14,319.8932 s. This latter result is indicated on the X axis with an orange diamond, while the blue diamond represents the average best result from the proposed LLM-guided method, which was 15,130.85 s. However, out of the 10 optimisation runs with the LLM-based method, only six were able to breach the 15,200 s threshold. Therefore, it would have been inaccurate to place the average best result of the LLM on the blue diagram itself (which is comprised of data points reached by all 10 LLM-guided optimisation runs), so for the purpose of consistency, both the best result from the GA and the average best result from the proposed LLM-based method were placed on the X axis instead (the GA always reached its exact best solution). In the same manner, the average best result of the SA was also placed on the X axis. From these, it is clear that the average best result of the SA was close to the best result of the GA, while the average best solution of the LLM was significantly behind these. It must be noted that in case of one of its optimisation runs, the LLM-guided method was able to reach a 14,817.773 s makespan as well, with a simulation count of only 672. It is also important to note that all the optimisation runs with the LLM-based method required less than 700 simulations to complete (although one of them almost reached this threshold with 699 simulations). What all of this clearly indicates can be visually confirmed by the comparison of the three diagrams in the 16,400 to 15,400 s range as well (the measurement points in the diagrams were taken with 200 s differences in the makespan, while the connecting lines in-between represent the general trends of the curves). Namely, while the GA were able to reach a better overall solution, the proposed LLM-guided neighbourhood search method converged much faster in the initial optimisation phase and as such, it was much more efficient in terms of the required simulation runs. Compared to the SA, its advantage in this respect is less significant, but it still exists in the 16,400 to 15,400 s makespan range (the interval which is fully covered by all LLM optimisation runs). This is also numerically represented in Table 6 below, which shows the actual makespan thresholds and the related required simulation runs by all three methods (in the case of the proposed LLM-guided method and of the SA, these are averages based on the 10 completed optimisation runs):
Table 6. Comparison of the required number of simulations to reach the highlighted makespan thresholds in case of all methods.
The diagram in Figure 6 and the numerical values of Table 6 together clearly show that while the GA was able to reach a better overall solution, the proposed framework was able to reach competitive intermediate solutions using substantially fewer simulation evaluations. While this advantage was less pronounced compared to the SA, nevertheless it remained notable in the 16,400 to 15,400 makespan interval. It must be noted that for the threshold-based comparison, a threshold was considered reached by the LLM when the first candidate solution with a simulated makespan equal to or below the respective value was generated, rather than at the subsequent iteration-level update of the globally best solution.
As mentioned, the optimisation runs were carried out with the application of four and five workers in the simulation model as well to properly explore the effect of the worker count on the optimisation efficiency. The results of these experiments will be presented in the followings.

5.3. Results of the Optimisation Run Series Using Four Workers in the Simulation Model

As expected, in terms of the required optimisation time, the experiments with four workers in the simulation model produced similar results compared to the initial experiment run (in fact, the mean optimisation time of the LLM was even higher in this case—around 9000 s—due to a few prolonged optimisation runs). However, in terms of the required simulation runs, there were some more notable changes in the results, as can be seen in Table 7 below.
Table 7. Comparison of the required simulation count to reach the makespan thresholds with four workers in case of all methods.
The table clearly shows that in order to reach the 15,600 and 15,400 s makespan thresholds, both the proposed method and the GA needed significantly more simulation runs than before, but in absolute terms the increase was the largest in case of the GA. In addition, while the 16,200, 16,000 and 15,800 s thresholds were now easier to reach especially in case of the GA, the initial 16,400 threshold was also significantly harder to reach for the latter. The diagrams in Figure 7 also support this observation, though pure visual interpretation could be somewhat misleading as the vertical axis now covers a shorter interval of the simulation count as the GA simply did not reach the 14,400 s threshold in this case.
Figure 7. Comparison of the average results of the proposed LLM-guided method (blue line) with the discrete results of the GA (orange line) and with the average results of the SA (red line) when using four workers in the simulation model (the horizontal axis represents the makespan [s] and the vertical axis represents the required simulation runs).
With respect to the SA, the required simulation runs were still generally higher compared to the LLM in the early phase of the optimisation, but reaching the 15,600 s threshold required essentially the same number of simulations in case of both methods, while the SA only needed 99.4 simulation evaluations on average to reach the 15,400 s threshold, compared to 153.5 in the case of the LLM. In addition, the best average result of the SA (14,370.281 s) was slightly even better than the best result of the GA (14,405.9559 s). All of these can be visually confirmed in Figure 7.
The experiments with four workers yielded additional interesting results. For example, the best solution reached by the GA was slightly worse compared to its previous best result in the three-worker case. Another interesting result is that the proposed LLM-based method seemingly performed slightly better with four workers, its average best result being 15,060.65565 s (the diagram also clearly represents that the two values are now closer to each other on the X axis). What is more notable however is that the single best result from the LLM in this case was significantly better at 14,383.4098 s, which slightly outperformed the result of the GA (the average result of the LLM was also influenced by this single exceptional result). The conclusion that using more workers in the simulation model definitely improves the performance of the LLM would be an overstatement, as the possibility that the proposed method finds an exceptionally good solution is always present. However, the results might indeed indicate that increasing the worker count could aid the LLM by altering the optimisation landscape, which could lead to finding such exceptional solutions on a more frequent basis. On the other hand, it must also be noted that the performance of the SA also markedly increased, in many ways matching or even outperforming the GA, but with a significantly smaller simulation demand (it also reached the best single solution of the entire experiment series resulting in a makespan of only 14,178.04 s). As the SA also utilises a neighbourhood search-based approach, the observed increase in the performance of both the LLM and the SA could also indicate that the increased worker count simply favours this type of heuristic optimisation more.

5.4. Results of the Optimisation Run Series Using Five Workers in the Simulation Model

Finally, the experiments were also conducted using five workers in the simulation model as well. The results are presented in Table 8, and in the form of a diagram in Figure 8.
Table 8. Comparison of the required simulation count to reach the makespan thresholds with five workers in case of all methods.
Figure 8. Comparison of the average results of the proposed LLM-guided method (blue line) with the discrete results of the GA (orange line) and with the average results of the SA (red line) when using five workers in the simulation model (the horizontal axis represents the makespan [s] and the vertical axis represents the required simulation runs).
The most relevant observation from the simulation runs is that the application of five workers could have altered the optimisation landscape in such a way that might have aided the LLM in finding better candidate solutions, while the performance of both the GA and the SA decreased compared to previous cases in terms of best results, though the latter still showed the best overall performance of the three methods. This can be observed clearly in the diagrams of Figure 8, which also show that the gap between the average best result of the proposed method (15,003.87911 s) and the best result from the GA (14,706.1778 s) decreased further, while the SA clearly produced the best result on average (14,521.533 s). Part of this result was that the LLM actually outperformed the GA in two of its optimisation runs, reaching a 14,343.459419180903 and a 14,521.81548604474 s makespan, while the GA’s best result was 14,706.1778 s. As a sidenote, it has to be mentioned that the optimisation time of the LLM-based method was also somewhat decreased in this last series of experiments, finishing between 5000 and 6000 s in case of seven of the 10 optimisation runs, but this still resulted in a more than one order of magnitude larger average wall-clock time compared to the GA, and a near three times longer optimisation time compared to the SA.
In terms of the simulation demand, the GA actually improved in this respect before hitting a wall near the 14,800 s threshold, but it still significantly lagged behind both the proposed LLM-based method and the SA, at least in the 16,400 to 15,400 makespan range. In this same range, the LLM again outperformed even the SA in terms of the needed simulation count, as it happened in the three-worker case (though the simulation counts at the 15,600 and 15,400 s thresholds were much closer this time).

5.5. Comparison of the Results of the Conducted Three Optimisation Run Series

The following Table 9 provides a comparison between the three optimisation run series with the proposed method and a summary of the main statistical parameters in each case:
Table 9. Comparison of the three optimisation run series with the proposed method.
The parameter values in the table clearly reinforce the observation that while increasing the worker count does not necessarily improve the performance of the proposed method in a definitive way (for example, the median best makespan was the worst in the four worker case, while the standard deviation was the largest when five workers were applied), it does alter the optimisation landscape in such a way that could aid the LLM in finding exceptionally good single results, which also appears in the slight improvement of the average best makespan. This is even more evident when we compare the single best results from the LLM with the best results of the GA in Table 10, which clearly shows that in both the four and five worker cases, the AI actually beat the GA in terms of individual best solutions (especially when both methods used five workers):
Table 10. Comparison of the three optimisation run series with the GA.
It must be mentioned that one of the overall best results of the entire experiment was produced by the GA when using three workers, which would also be the most practical solution in a real-life setting, as three workers obviously require less labour-costs than five. It also has to be mentioned that the GA reached this exact solution in every optimisation run when three workers were used, as it produces reproducible results in the given application environment. On the other hand, the comparison of the two tables also reinforces the previous observations about the required simulation counts. Namely, while the largest simulation count required by the LLM during one of its complete optimisation runs was 713, the GA needed 5831 simulations when using five workers to reach its best result, while this number was 14,657 when using three workers and 20,736 when using four (the total simulation count during the entire GA optimisation run was in the 18,000 to 21,000 range, depending on the number of workers used).
When we compare the proposed method with the SA, it is evident that the latter clearly outperforms the former in terms of the achieved average and single best makespans. This can be easily verified by comparing the respective values of Table 9 with those of Table 11 below.
Table 11. Comparison of the three optimisation run series with the SA.
It must be mentioned that the SA achieved these results using exactly 3000 simulation evaluations in each optimisation run, which is more than four times the amount used by the LLM on average. However, the SA still required only around one-third of the computational time of the LLM even with this increased simulation count, which clearly demonstrates the significant efficiency advantage of the former as well. However, it is worth mentioning two additional details in relation to this comparison. First, while the SA achieved its best result using four workers, its performance decreased again when the worker count was increased to five. On the other hand, the LLM showed a further, albeit minor improvement in its performance when the worker count was increased to five, even though both methods utilise a neighbourhood search approach. This could indicate that the LLM might have some additional advantage when the complexity of the optimisation landscape is altered in this way, but at this point it can only be viewed as a hypothesis requiring further proof in the future. Secondly, while the SA proved to be more efficient in most metrics, the proposed LLM-based method still outperformed the former in terms of simulation demand in the early phase of the optimisation, specifically in the 16,400 s to 15,600 s makespan threshold range (and partially around the 15,400 s threshold as well, when three or five workers were used). This also could imply that the LLM might have some unique advantage in this respect, which goes beyond the advantages of using the neighbourhood search approach.

6. Discussion

6.1. Interpretation of the Results

The results from the three optimisation run series showed that the proposed context-aware LLM-guided neighbourhood search method is indeed capable of closed-loop optimisation of discrete-event simulation models. The proposed approach was also able to reach competitive intermediate solutions compared to those of both the GA and the SA, even though the latter two were clearly superior in terms of overall best results and computational cost requirements. Based on the results, it can be observed that the primary limiting factor of the proposed method in its current implementation is its tendency to stagnate around local optimums, which is represented well by the average and median best makespans in each case. By analysing the log files from the individual optimisation runs, one behaviour of the method that can also be observed is that once it reaches a relatively good solution, it starts to improve it by small increments, reinforcing the observation about the stagnation tendency around local optimums (the log files can be accessed through the repository presented in the Data Availability Statement). On the one hand, this can be interpreted as an indication that the LLM successfully utilises the context provided by the optimiser based on the extracted information from the simulation model to implement further corrections on the initial result. On the other hand, this also suggests that the further refinement of the text prompt could be needed to decrease the tendency of the observed stagnation behaviour.
Another important observation from the results was the notably decreased simulation count requirement of the proposed method compared to the GA, and to a lesser extent to the SA as well. This is especially apparent in the early and intermediate phases of the optimisation runs, when the LLM could often reach a relatively good intermediate solution through the completion of just a handful of simulations. If this would only occasionally happen, then this could also be attributed simply to the stochastic nature of the neighbourhood search approach. However, the fact that this phenomenon could be reliably observed in virtually all optimisation runs could further provide an indication that the LLM utilises the provided contextual information in an efficient manner. It must be noted that the SA also significantly outperformed the GA in this respect, which indicates that at least part of this advantage could be attributed to the neighbourhood search approach used by both the LLM and the SA. However, as the LLM mostly outperformed the SA as well in terms of simulation demand in the early and intermediate phases of the optimisation runs, it could be assumed that the proposed method possesses some additional advantages in this regard.
Finally, another result of the experiments was that the LLM seemingly had a greater chance for finding single exceptionally good solutions when the worker count was increased to 4 and 5. A probable reason for that could simply be that the utilisation of more workers provides the LLM with an altered optimisation landscape that may facilitate the discovery of highly efficient solutions. What was also interesting, however, is that in parallel to this, the performance of the GA seemingly decreased with the addition of extra workers. One explanation for this could be that the increase of the worker count increases the complexity of the optimisation landscape, which requires more simulations to be evaluated in the case of the GA, and therefore results in a less optimised solution with the same amount of generations. On the other hand, the LLM may be able to exploit the increased number of solutions efficiently through the application of the provided contextual information. However, currently this is more akin to just a hypothesis that could only be verified through additional research in the future. In addition, it must be noted here as well that the SA also reached a better solution for the four-worker configuration, while it reached the best single solutions in case of all three-worker settings, though its performance interestingly decreased in the five-worker case. This could again indicate that part of the advantage of both the proposed method and the SA in this respect can be attributed to the neighbourhood search approach as well, but there are also additional differences between the behaviour of these two methods.

6.2. Exploring the Significance of the Reduced Simulation Demand of the Proposed Method Using a Sensitivity Analysis

In order to properly explore the implications of the reduced simulation demand of the proposed method observed in the initial and intermediate phases of the optimisation runs, a sensitivity analysis was conducted both in the LLM-SA and LLM-GA relations. The 15,600 s makespan was selected as a representative intermediate threshold that was consistently reached by all optimisation methods across all experimental runs. At the same time, it represents sufficient optimisation progress for meaningful differences in simulation demand between the methods to emerge and was therefore used as the common solution-quality reference for the subsequent sensitivity analysis.
Since the relationship between model complexity and LLM-side computational overhead cannot be established from the conducted experiments, additional sensitivity scenarios were considered in which the measured LLM-related non-simulation overhead was multiplied independently.
Taking the above into account, the basic sensitivity equation for optimisation method m is:
T m t s , k m = k m C m + N m t s
where:
  • T m t s , k m   = estimated total optimisation wall-clock time for method m, when one simulation evaluation requires t s seconds,
  • k m   = overhead multiplier,
  • C m   = experimentally measured present non-simulation overhead,
  • N m   = mean number of simulation evaluations required to first reach the 15,600 s makespan threshold,
  • t s   = assumed wall-clock time of one simulation evaluation.
The analysis varies the computational cost of individual simulation evaluations and, separately, the non-simulation overhead multiplier, while the number of evaluations required to reach the selected threshold is assumed to remain unchanged.
For clarity, the sensitivity analysis was performed using the three-worker configuration, for which all methods consistently reached the selected makespan threshold and the differences in simulation demand were sufficiently pronounced to illustrate the computational trade-off.
The C m   non-simulation overhead can be determined based on the experimental results with the following formula:
C m =   T m , 0 − S m , 0
where:
  • T m , 0   = measured total optimisation wall-clock time up to the 15,600-s makespan threshold,
  • S m , 0   = measured cumulative simulation wall-clock time up to that threshold.
For the repeated optimisation experiments, the quantities used in the sensitivity analysis represent the corresponding mean values across the runs.
The objective is to find the break-even point through the sensitivity analysis at which the two compared algorithms have equal total optimisation wall-clock time. In case of comparing the LLM with the SA, this results in the following formula for the break-even point:
k L L M C L L M   +   N L L M t s ∗ = k S A C S A + N S A t s ∗
where t s ∗ is the per-simulation wall-clock cost at which the two methods have equal estimated total optimisation time. Solving for t s ∗ :
t s ∗ =   k L L M C L L M − k S A C S A N S A − N L L M
In the same manner, solving for t s ∗ in case of the LLM-GA relation is given as follows:
t s ∗ =   k L L M C L L M − k G A C G A N G A − N L L M
To be able to calculate t s ∗ for the LLM-SA relation using (12), first the C L L M and C S A components had to be determined using (10). This was done by separately averaging the measured total optimisation wall-clock time ( T m , 0 ) and measured cumulative simulation wall-clock time ( S m , 0 ) up to the 15,600 s makespan threshold across all the 10 runs of both methods respectively in case of the three-worker configuration, based on the optimisation logs (isolated formatting artefacts introduced during spreadsheet processing of the logged timing data were corrected where required, while the original CSV logs were retained unchanged in the data repository). Based on these results, the values of C L L M and C S A were determined as follows:
C L L M =   370.28504 − 91.50077 =   278.78427
C S A = 69.46018 − 69.2803528 =   0.1798272
Using the above determined values of C L L M and C S A together with the respective N S A and N L L M values presented in Table 6 for the 15,600 makespan threshold, t s ∗ was determined using (12) for three different scenarios, in which k S A was uniformly kept at 1, but k L L M was increased from 1 to first 2 and then to 5, representing different possible levels of increase in the LLM-side non-simulation overhead. The results of these calculations are shown in Table 12.
Table 12. The break-even simulation time for the LLM-SA relation in case of three LLM-side overhead scenarios.
In the same way, the break-even simulation times for the three scenarios could be determined for the LLM-GA relation as well using (13). First, C G A was calculated using (10), where the T G A , 0 and S G A , 0 parameters were determined by averaging the respective individual parameter values measured at the 15,600 s makespan threshold in three GA optimisation runs:
C G A =   6.388666667   −   3.468 =   2.920666667
Then, the calculations with (13) could be completed by using the previously determined C L L M parameter and the respective N G A and N L L M values presented in Table 6 for the 15,600 makespan threshold, as shown in Table 13.
Table 13. The break-even simulation time for the LLM-GA relation in case of three LLM-side overhead scenarios.
The previous results can be examined from two directions. First, we can compare these to the measured simulation wall-clock time of the applied Plant Simulation model. To make this comparison objective, the wall-clock simulation time of the model was measured inside the Plant Simulation software using the fast-forward execution option which excludes the graphical visualisation of the material flow processes. This was required because the majority of the simulation time in case of the LLM-based method and the SA is related to communication overhead and other external factors which are not present when using the native GA. Ten measurements were carried out this way using the initial production sequence, and another ten using the best solution of the SA, which was the single best solution of the entire experiment series (the measurements were carried out in the three-worker case). Remarkably, after averaging the results, a 0.0056 s simulation wall-clock time was determined in case of both the initial and the best sequence. Comparing this with the break-even simulation time results of the LLM-SA relation, we get a multiplier of 729.48375, 1459.43839 and 3649.30179 for the three scenarios. In other words, the simulation time must increase by approximately three orders of magnitude to justify the use of the LLM, depending on the given scenario. It is worth mentioning, however, that the SA specifically excels in such applications as the one presented in this study. This is one of the reasons why the same comparison for the LLM-GA relation produces smaller differences, but these are still very substantial (the multipliers in this case are 87.70048, 176.32947 and 442.21645 respectively).
On the other hand, the determined break-even simulation times can be also compared to those of industrial-scale simulations reported in the related literature. For example, Werth et al. identified computational requirements as a major obstacle to simulation-based optimisation and noted that individual simulation runs may require several minutes or even hours [38]. In their investigated production system, a single simulation required up to 20 min, which the authors considered prohibitive for conventional metaheuristic optimisation and consequently investigated surrogate-based search strategies to reduce the required simulation demand. Ghaedy-Heidary et al. similarly highlighted this issue in the context of semiconductor manufacturing, where detailed simulation-based scheduling incorporates re-entrant product flows, stochastic operation and setup times, rapidly changing products and technologies, and several workstation-specific constraints [39]. The authors highlighted the computational intensity associated with such complex scheduling problems, while their experiments also demonstrate the considerable computational effort that can be required by simulation optimisation in this setting. The practical importance of simulation runtime in this application domain is further demonstrated by Seok et al., who developed an abstraction-based acceleration approach for discrete-event wafer-fabrication models and reported simulation speed-ups of 6.1–11.8, accompanied by an accuracy degradation of 2.5–5.9% [40]. Consequently, although the present sensitivity analysis does not constitute experimental validation of the proposed LLM-guided method on a larger industrial model, previous research demonstrates that application domains exist in which the computational cost of individual simulation evaluations can be several orders of magnitude greater than in the proof-of-concept model investigated in the present study. For example, the reported 20 min simulation time by Werth et al. [38] is 58.71965 times larger than even the longest break-even simulation time determined in the LLM-SA relation, while 2443.38141 times larger than the shortest break-even value in the LLM-GA relation. The calculated break-even simulation times can therefore provide an indication of the conditions under which the reduced simulation demand of the proposed method could become computationally relevant.

6.3. Limitations of the Current Study and Future Research Directions

For the purpose of reproducibility, the proposed scheduling framework intentionally applied a locally installed LLM, more specifically Mistral Small 3.2 (24B). This also had the added benefit that it enabled a more objective comparison between the computational resource requirements of the proposed LLM-guided neighbourhood search method, and of the GA and the SA. The differences in terms of resource usage clearly appeared in the difference between the optimisation times of the three methods. On the other hand, there is a clear possibility that a state-of-the-art frontier model might produce better candidate sequences during the optimisation process. However, the computational cost of running such an advanced model locally would likely be prohibitively large (even with the current setup, by using the presented hardware configuration it took nearly two hours on average just to complete a single optimisation run in the three-worker case with the LLM), assuming that the given model is available for local deployment in the first place. Still, in case of highly significant and complex simulation problems, it might be justifiable to apply frontier models, if not locally, then through their designated APIs, even if this would have a somewhat detrimental effect on the reproducibility of the results. Therefore, an obvious future research direction would be to test the proposed method and framework with the use of a selected frontier model as well.
The simulation model applied in the proof-of-concept implementation of the proposed framework was developed in a way to strike a good balance between realism, complexity and experimental efficiency. Still, the possibility always exists to further improve a simulation model along any of these criteria. For example, Plant Simulation provides multiple obstacle avoidance methods for the workers. The standard method is the “Bounding Box” approach, which as the name implies treats the obstacles as if they were surrounded by a virtual rectangular prism and forces the workers to stay out of this spatial region. This method was used in the current simulation model as well and it generally produced realistic transport paths, though it was occasionally observed that workers followed trajectories intersecting obstacle geometries instead of fully circumventing them. Plant Simulation provides alternative, graphics-based obstacle avoidance methods that may improve the realism of worker movement. However, these approaches also increase the computational cost of each simulation run and, consequently, the overall optimisation time. Therefore, the “Bounding Box” method was retained throughout this study to maintain a practical balance between simulation fidelity and computational efficiency, but follow-up studies could also apply the graphics-based approaches as well.
Going forward, multiple future research directions present themselves which could be followed in later studies. As mentioned in Section 6.1 and was reinforced by the sensitivity analysis in Section 6.2, the main advantage of the proposed approach lies in its efficiency in terms of simulation demand. This could be further enhanced using multiple approaches, with the main objective of trying to improve the method in a way to avoid the possible stagnation around local optimums. This could include the further optimisation of the prompt, the exploration of other diversification strategies in candidate sequence generation, the utilisation of additional extracted data from the simulation (for example worker statistics), the experimentation with multiple different LLMs (both through local deployment and through API-based access), among others. One could also imagine the expansion of the framework into a multi-agent system, but this would significantly increase computational cost, while it would not necessarily provide clear advantages (for example, if the results of the simulation runs would be interpreted by a separate LLM before passing them to the optimiser agent, that might also increase the risk of invalid candidate sequence proposals).
Another avenue of research could be the development of hybrid methods which would combine the presented approach with another, more classical heuristic. Such approaches could leverage the fast initial convergence behaviour of the proposed method, which could potentially save optimisation time, especially if individual simulation evaluations are computationally expensive. The validity of this possible future research direction was also reinforced by the results of the sensitivity analysis presented in Section 6.2.
The greatest potential probably lies in the possible generalisation of the proposed method. This could on the one hand include the broadening of the search space by adding multiple different optimisation parameters. Currently, the optimisation focuses only on the production sequence and on the resulting makespan, but a larger and more complex simulation model could include other optimisable parameters as well, such as cost, worker utilisation, worker count, energy utilisation, lead-time, and many others. Generally, it can be hypothesised that the proposed LLM-based neighbourhood search could become increasingly advantageous for more complex problems if their increased complexity results in sufficiently expensive individual simulation evaluations and the observed advantage in simulation demand persists, as LLMs are particularly well suited to identifying patterns in large and complex datasets. Relative to that, traditional heuristics such as the GA or the SA are focused more on optimising a few parameters through a large number of iterative solutions. This hypothesis is also consistent with the results of the sensitivity analysis in terms of computational cost, as it showed that scenarios could exist in which the runtime of industrial-scale simulation models could place traditional heuristics at a significant disadvantage. On the other hand, the generalisation potential could also be explored in terms of extending the scope of the proposed method to include other types of simulation problems as well, and even other simulation paradigms. Theoretically, there is no imminently evident obstacle in this regard which would prevent the application of the proposed method and framework from solving completely different simulation problems as well. On the contrary, more complex and computationally expensive simulation problems may provide greater potential for the proposed approach, but exploring these possibilities would require significant research efforts in the future.

7. Conclusions

The study presented an LLM-guided scheduling framework and a related context-aware LLM-guided neighbourhood search method for production scheduling, using a discrete-event simulation model both as the focus of the optimisation process and as an evaluation tool for providing operational feedback. As part of the proposed framework, an optimiser was developed in Python to connect the LLM with the DES model, and to implement the extraction and preprocessing of the necessary information from the simulations that is needed for constructing a contextual background for the AI. One of the unique contributions of the study is that the proposed method implements a closed-loop iterative optimisation process on the DES model with the use of the LLM, an approach that is still largely unexplored in the literature.
The performance of the proposed method was compared with a genetic algorithm native to the applied simulation environment and against a simulated annealing algorithm implemented in Python. The general conclusion of these experiments was that while the GA and the SA reached better end results with significantly smaller computational cost, the proposed method was able to provide competitive intermediate solutions with fewer simulation runs. In addition, in a few optimisation experiments, the LLM-based method was able to reach similarly good end results as the GA, but with an order of magnitude less simulation runs.
The results of the experiments demonstrated that while the proposed approach generally requires more computational resources than a classical heuristic, on the other hand it could be more efficient in terms of simulation demand. This indicates that the method could potentially become useful in certain cases where the complexity and size of the simulation models result in a much higher computational cost for standard heuristics, as was indicated by the results of an additional sensitivity analysis conducted to compare the proposed method with the GA and the SA in this respect.
The successful demonstration of the feasibility of the approach and the optimisation experiments performed pave the way for several future research directions. These include the further development of the framework through the optimisation of the text prompt and the applied candidate diversification strategies, the possible application of a frontier model as the designated LLM, or through the extraction of additional information from the simulation model. The development of hybrid approaches that combine the proposed method with standard heuristics could also be a promising avenue for future research, as these could result in less overall computational cost due to the fast initial convergence of the former. However, the most promising future research direction probably lies in the generalisation of the proposed approach, both in terms of the number and types of parameters that can be optimised in a model and the simulation domains and paradigms that can be considered for the applicability of the method. As one of the observed strengths of the introduced context-aware approach lies in its efficiency in terms of simulation demand, it has the potential to provide considerable benefits for such scientific and engineering domains that traditionally require the solution of highly complex and extensive simulation problems.

Funding

This research received no external funding.

Data Availability Statement

Data Availability Statement: The data and source code supporting the findings of this study are publicly available at https://github.com/RobertS9542/llm-des-neighbourhood-search (access on 11 September 2026). The Siemens Tecnomatix Plant Simulation model used in the study is not publicly available due to licensing considerations associated with the commercial simulation software.

Acknowledgments

During the preparation of this manuscript/study, the author used ChatGPT (OpenAI; GPT-5 series) as an auxiliary tool for code debugging, code implementation support, and high-level methodological discussion. The tool did not generate final results, nor was it used to autonomously design experiments. All simulation models, optimisation strategies, and evaluations were independently implemented, verified, and validated by the author. The use of AI assistance was limited to accelerating software development and improving clarity of technical reasoning. The author has reviewed and edited the output and takes full responsibility for the content of this publication.

Conflicts of Interest

The author declares no conflicts of interest.

Correction Statement

This article has been republished with a minor correction to the readability of figure (1). This change does not affect the scientific content of the article.

Abbreviations

The following abbreviations are used in this manuscript:
LLMlarge language model
DESdiscrete-event simulation
GAgenetic algorithm
SAsimulated annealing
APIapplication programming interface
COMcomponent object model
DEVSdiscrete-event system specification
ASMGautomated simulation model generation
DNLDEVS Natural Language
SysMLsystems modelling language
HPCHigh-Performance Computing
CNNConvolutional Neural Network
LMDMlarge manufacturing decision model
QoS Quality of Service
ABMagent-based modelling
SDGUnited Nations sustainable development goal
CDTFConversational Digital Twin Framework

Appendix A

“““You are helping optimise a manufacturing sequence.

Current sequence:
{sequence}

Current makespan in seconds:
{current_makespan}

Best makespan found so far:
{best_makespan}

Recent move history:
{recent_history_text}

Recently rejected parent-sequence-aware moves to avoid repeating immediately:
{rejected_moves_text}

Recent move texts (use these to avoid index-level repetition):
{recent_move_text_block}

Action usage so far:
{action_counts_text}

Current search mode:
{search_mode}

Candidate-specific instruction:
{candidate_instruction}

{resource_summary_text}

{utilisation_trend_text}

{bottleneck_process_summary_text}

IMPORTANT:

The goal is to reduce makespan by proposing exactly ONE valid modification.

You are performing iterative search.
A good move should either:
- improve the sequence locally,
- or introduce a useful structural change without being unnecessarily disruptive.

Interpretation of utilisation data:
- Higher working utilisation often means a station is being used effectively, but extremely high working utilisation may also indicate a bottleneck.
- Higher blocked percentage is generally undesirable and may indicate downstream congestion.
- Higher waiting percentage is generally undesirable and may indicate starvation, poor flow balance, or upstream sequencing problems.
- These are heuristic signals only; the primary objective remains reducing total makespan.

Use the resource utilisation summary, utilization trend, and bottleneck-to-process summary to reason about bottlenecks, blocking, waiting, and which part types are likely involved.
Prefer targeted moves that may:
- reduce unnecessary blocking at the most blocked stations,
- reduce excessive waiting/starvation,
- improve flow balance,
- or shift load away from the most heavily utilised bottleneck stations without creating new congestion.

Very important action guidance:
- Do NOT overuse reverse.
- Do NOT overuse reinsert_block.
- Reverse and reinsert_block are not default actions.
- Single-element move is often a strong operator for fine-grained improvement; do not neglect it in favour of block-based operations.
- Prefer move or swap when targeting a specific bottleneck, blocked station, or waiting station.
- Use reinsert_block only when relocating a block has a clear structural reason.
- Use reverse only when there is a clear reason to reorder an entire local region and simpler targeted actions seem weaker.
- If recent candidates already rely on reverse or reinsert_block, strongly prefer move or swap.
- Balance exploration and stability: propose a move that is meaningfully different from recent patterns, but do not make chaotic changes unsupported by the resource data.
- When utilisation points to a problematic station, use the bottleneck-to-process summary to identify which part types visit that station, then consider moves affecting those part types in the sequence.

CRITICAL DIVERSITY RULE:
- Do NOT repeatedly use the same indices or positions as in recent candidates.
- Avoid proposing moves that involve the same ‘from’ index, the same ‘to’ index, or the same block boundaries (start/end) if similar moves were already proposed recently.
- You must explore different parts of the sequence.
- If recent candidates focused on a specific region, you must propose a move involving a DIFFERENT region unless there is a very strong reason not to.
- Avoid repeating specific patterns like repeatedly moving from the same index or repeatedly manipulating the same short block.
- For reinsert_block, avoid repeatedly using the same block start/end/to combination. If a similar block move appeared recently, choose a different sub-block, a different target, or preferably a different action type such as move or swap.
- Across candidates in the same iteration, avoid generating multiple reinsert_block candidates unless there is a clear and different structural reason for each one.

Avoid random or redundant changes.
Avoid repeatedly using the same action type.
Avoid changes that only reshuffle repeating sub-patterns without creating meaningful structural difference.

---

SEARCH MODE STRATEGY:

Normal mode:
- The search is still improving or exploring effectively.
- Prefer small and medium targeted changes.
- Focus on refinement rather than disruption.

Preferred actions in normal mode:
1. move
2. swap
3. reinsert_block or reverse only when clearly justified

Use reverse only occasionally if there is a clear structural reason.
Avoid swap_blocks in normal mode unless clearly justified.

Guidelines:
- Prefer targeted improvements.
- Avoid overly disruptive block-level changes early.
- Do not default to macro-moves.
- If utilisation data indicates a bottleneck, favour a targeted move, swap, or reinsert_block that may relieve that bottleneck.

---

Diversification mode:
- No improvement has been found for {no_improvement_count} iterations.
- The search may be stuck in a local minimum.

Preferred actions in diversification mode:
1. move
2. swap
3. reinsert_block
4. reverse
5. swap_blocks (rare)

Use swap_blocks only if:
- simpler moves repeatedly fail,
- and a major structural change is clearly necessary.

Guidelines:
- Prefer larger changes than in normal mode, but still avoid meaningless reshuffling.
- For move: prefer longer-distance moves.
- For reinsert_block: use it only when moving a block clearly changes the sequence structure. Avoid using reinsert_block repeatedly across candidates in the same iteration.
- For swap: prefer non-local but targeted swaps.
- For move: single-element moves are useful for fine-grained improvements and should remain frequent.
- For reverse: use it sparingly and only with clear justification.
- If utilisation data indicates strong blocking or waiting, prefer moves that specifically improve flow through those stations.

{diversification_block}

---

ALLOWED ACTIONS:

1. swap two positions
2. move one element to a new position
3. reverse one contiguous block
4. reinsert one contiguous block at a new position
5. swap two disjoint contiguous blocks of equal length

IMPORTANT VALIDITY CONSTRAINTS FOR BLOCK MOVES:

For reinsert_block:
- The block length must be between 2 and 12 positions.
- Choose the block size based on the intended structural effect.
- Do NOT repeatedly use similar block sizes or the same block boundaries.
- Do NOT move an entire 16-position region such as 0..15, 16..31, 32..47, or 48..63.
- If the candidate instruction focuses on a region such as [16..31], choose a valid sub-block inside that region, but do not always choose the same size or same boundaries.

For swap_blocks:
- The two blocks must be disjoint.
- The two blocks must have equal length.
- Each block length must be between 2 and 8 positions.

---

RETURN FORMAT (STRICT):

Return exactly ONE JSON object, for example:

{{“action”:“swap”,“i”:5,“j”:19}}
{{“action”:“move”,“from”:12,“to”:3}}
{{“action”:“reverse”,“start”:20,“end”:27}}
{{“action”:“reinsert_block”,“start”:10,“end”:15,“to”:40}}
{{“action”:“swap_blocks”,“start1”:4,“end1”:7,“start2”:20,“end2”:23}}

---

RULES:

- Use 0-based indices
- All indices must be between 0 and 63
- Return ONLY the JSON object
- Do NOT include explanations
- Do NOT include code
- Do NOT return the full sequence
- Ensure the move is valid
- Avoid repeating recently rejected moves
- Prefer meaningful structural improvements over random edits
”””

Appendix B

Figure A1. Applied settings for the number and size of the generations in the GAWizard.
Figure A2. Applied setting for the number of best individuals in the GAWizard.

Appendix C

Table A1. The contents of the FlatProcessTable showing the consecutive manufacturing steps with the stations and the processing times in case of each part type.

References

  1. Ponsich, A.; Coello, C.C. Differential evolution performances for the solution of mixed-integer constrained process engineering problems. Appl. Soft Comput. 2011, 11, 399–409. [Google Scholar] [CrossRef] [Scilit]
  2. de Carvalho Miranda, R.; Montevechi, J.A.B.; de Pinho, A.F. Development of an adaptive genetic algorithm for simulation optimization. Acta Sci. Technol. 2015, 37, 321–328. [Google Scholar] [CrossRef] [Scilit]
  3. Verbiest, F.; Cornelissens, T.; Springael, J. A matheuristic approach for the design of multiproduct batch plants with parallel production lines. Eur. J. Oper. Res. 2019, 273, 933–947. [Google Scholar] [CrossRef] [Scilit]
  4. Borisenko, A.; Gorlatch, S. Comparing GPU-parallelized metaheuristics to branch-and-bound for batch plants optimization. J. Supercomput. 2019, 75, 7921–7933. [Google Scholar] [CrossRef] [Scilit]
  5. Borisenko, A.; Gorlatch, S. Efficient GPU-parallelization of batch plants design using metaheuristics with parameter tuning. J. Parallel Distrib. Comput. 2021, 154, 74–81. [Google Scholar] [CrossRef] [Scilit]
  6. Fei, Y.; Song, M.; Jiao, R.J. AI-assisted Intelligent Discrete-Event Simulation Platform for Manufacturing Systems. In Proceedings of the 15th International Conference on Industrial Engineering and Operations Management, Singapore, 18–20 February 2025; pp. 2748–2759. [Google Scholar]
  7. Reider, R.; Lang, S. GenAI for Simulation Modeling: A Synergistic Approach. In Proceedings of the 18th International Doctoral Students Workshop on Logistics, Supply Chain and Production Management, Magdeburg, Germany, 17 June 2025; Glistau, E., Ed.; Universitätsbibliothek Magdeburg: Magdeburg, Germany, 2025; pp. 115–122. [Google Scholar] [CrossRef] [PubMed]
  8. Li, X.; Nassehi, A.; Hu, S.J.; Joung, B.G.; Gao, R.X. A large manufacturing decision model for human-centric decision-making. CIRP Ann. 2025, 74, 621–625. [Google Scholar] [CrossRef] [Scilit]
  9. Jackson, I.; Jesus Saenz, M.; Ivanov, D. From natural language to simulations: Applying AI to automate simulation modelling of logistics systems. Int. J. Prod. Res. 2024, 62, 1434–1457. [Google Scholar] [CrossRef] [Scilit]
  10. Frydenlund, E.; Martínez, J.; Padilla, J.J.; Palacio, K.; Shuttleworth, D. Modeler in a box: How can large language models aid in the simulation modeling process? Simulation 2024, 100, 727–749. [Google Scholar] [CrossRef] [Scilit]
  11. Romero-Guerrero, J.A.; Bautista-Orduna, G.E.; Suarez-Luna, J.M.; Arenas-Islas, D. Creation of discrete event simulation models using artificial intelligence and flexsim. Ing. Investig. Tecnol. 2026, 27, 1–12. [Google Scholar] [CrossRef] [Scilit]
  12. Elbasheer, M.O.; Laili, Y.; Longo, F.; Solina, V.; Tao, Y.; Veltri, P.; Zhang, Y.; Zhang, L. Natural language-driven production planning: Integrating large language models with automatic simulation model generation in manufacturing systems. J. Intell. Manuf. 2025, 1–28. [Google Scholar] [CrossRef] [Scilit]
  13. Cirillo, L.; Gotelli, M.; Massei, M.; Sina, X.; Solina, V. A Synergistic Multi-Agent Framework for Resilient and Traceable Operational Scheduling from Unstructured Knowledge. AI 2025, 6, 304. [Google Scholar] [CrossRef] [Scilit]
  14. Schmitt, T.; Gegenmantel, N.; Moris, M.U.; Mårtensson, P.; Amouzgar, K. LLM-driven discrete-event simulation: A generative AI framework for automated model generation, adaptation, and evaluation in manufacturing. J. Manuf. Syst. 2026, 85, 642–661. [Google Scholar] [CrossRef] [Scilit]
  15. Korth, M.; Overbeck, L.; Benfer, M.; Lanza, G. LLM-supported Simulation and Exploration in Production Planning and Control. In Proceedings of the ASIM-Fachtagung Simulation in Produktion und Logistik, Dresden, Germany, 24–26 September 2025. [Google Scholar]
  16. El Baz, H.; Ghali, M.K.; Andrus, L.; Won, D.; Yoon, S.W.; Wang, Y. Generative AI-based optimization for high-mix warehouses: Integrating agentic LLMs and discrete event simulation. Comput. Ind. Eng. 2026, 214, 111884. [Google Scholar] [CrossRef] [Scilit]
  17. Dehghani, M. SimGPT: Unlocking potentials of generative AI in simulation via Simio and LLM integration. Comput. Ind. Eng. 2026, 218, 112104. [Google Scholar] [CrossRef] [Scilit]
  18. Alshareef, A. Bootstrapping SysML with LLM-based inference and integrated discrete-event simulation. Simulation 2026, 102, 469–492. [Google Scholar] [CrossRef] [Scilit]
  19. Kute, S.; Ma, D.; Reider, R.; Müller, M.; Lang, S. Generative AI for Automatic Simulation Model Generation in Factory Planning: A Framework and Prototype. Procedia Comput. Sci. 2025, 274, 1024–1033. [Google Scholar] [CrossRef] [Scilit]
  20. May, M.C.; Liang, P.; Kim, S.G. Agentic LLM-based Contingency Management in Production Control. Procedia CIRP 2026, 139, 373–378. [Google Scholar] [CrossRef] [Scilit]
  21. Straka, M.; Ondov, M. Exploring Artificial Intelligence as a Tool for Logistics Process Simulation. Appl. Sci. 2026, 16, 3301. [Google Scholar] [CrossRef] [Scilit]
  22. Premkumar, L.; Karanjkar, N. On Integrating Resilience and Human Oversight into LLM-Assisted Modeling Workflows for Digital Twins. In Proceedings of the 40th ACM SIGSIM International Conference on Principles of Advanced Discrete Simulation, Vienna, Austria, 24–26 June 2026; pp. 99–115. [Google Scholar]
  23. Thogaru, H.; Ammanabrolu, P.; Deodhar, A. Warehouse AI: A Closed-Loop Multi-Agent Orchestration for Industrial Planning via Knowledge Graph-Grounded Simulation. Accepted for presentation at the Joint Workshop on Generative AI and Knowledge Graphs (GenAIK 2026) and Knowledge Graphs & Agentic Systems Interplay (NORA 2026), co-located with IJCAI–ECAI 2026, University of Bremen, Germany, 17 August 2026. In press.
  24. Wagenitz, A.; Toth, M.; Klingebiel, K. Bridging ai-driven risk detection and discrete-event simulation for quantitative supply chain risk evaluation. In Communications of the ECMS; European Council for Modelling and Simulation: London, UK, 2026; Volume 40, pp. 355–361. [Google Scholar]
  25. Jadhav, P.; Jin, H.; Deelman, E.; Balaprakash, P. Evaluating the Efficacy of LLM-Based Reasoning for Multiobjective HPC Job Scheduling. In Proceedings of the SC ’25 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC Workshops ’25), St. Louis, MO, USA, 16–21 November 2025; Association for Computing Machinery: New York, NY, USA, 2025; pp. 2234–2244. [Google Scholar] [CrossRef] [Scilit]
  26. Miski, A.; Sharif, A.T.; Bukhari, A.G.; Ismail, M. Modeling Discrete-Event Simulations Using Natural Language Processing: A Healthcare Application. J. King Abdulaziz Univ. Med. Sci. 2024, 31, 35. [Google Scholar]
  27. Diamatopoulos, G.; Theodoropoulos, G.; Tziritas, N.; Bahsoon, R. Towards LLM Augmented Discrete Event Simulation of Blockchain Systems. In Proceedings of the 38th ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, Atlanta, GA, USA, 24–26 June 2024; pp. 75–76. [Google Scholar]
  28. Katale, T.S.; Gao, L.; Liu, Y.; Liu, D.; Chen, H. LLM-Guided Hybrid Simulation for Airport Cyber-Resilience Assessment. Mathematics 2026, 14, 1923. [Google Scholar] [CrossRef] [Scilit]
  29. Monks, T.; Harper, A.; Heather, A. Unlocking the potential of past research: Using generative AI to reconstruct healthcare simulation models. J. Oper. Res. Soc. 2026, 77, 1819–1842. [Google Scholar] [CrossRef] [Scilit]
  30. Mattar, E.A.; Bhattacharya, P.; Dutta, P.K.; Rodrigues, J.J. LLM-FaaS: A Secured Large Language Model assisted Fog-as-a-Service Framework. In 2025 10th International Conference on Smart and Sustainable Technologies (SpliTech); IEEE: New York, NY, USA, 2025; pp. 1–6. [Google Scholar]
  31. Liu, J.A.; Chu, C.; Zhao, Y.; Aoki, G.; Xiao, Z. Agentic AI for sustainable development: Leveraging large language model-enhanced agent-based modeling for complex policy strategies. Emerg. Media 2025, 3, 401–413. [Google Scholar] [CrossRef] [Scilit]
  32. Neto, V.V.G.; Keller, N.; Kim, D.D.; Seo, C.; Carbo, P.; Zeigler, B. Preliminary results of an experiment on leveraging large language models to assist modelers in interpreting devs natural language models. In Proceedings of the Workshop em Modelagem e Simulação de Sistemas Intensivos em Software (MSSiS), Curitiba, Brazil, 30 September 2024; pp. 41–50. [Google Scholar]
  33. Vicente-Martínez, P.; Chust-Ros, A.; Soria-Olivas, E.; García-Escrivà, M.Á.; William-Secin, E.; Sánchez-Montañés, M. A Framework for Conversational Digital Twins: Integrating Generative AI for Operational Event Simulation. Computers 2026, 15, 484. [Google Scholar] [CrossRef] [Scilit]
  34. Patel, P.; Choukse, E.; Zhang, C.; Shah, A.; Goiri, Í.; Maleki, S.; Bianchini, R. Splitwise: Efficient generative llm inference using phase splitting. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA); IEEE: New York, NY, USA, 2024; pp. 118–132. [Google Scholar]
  35. More, A.; Anwar, T.; Yadav, P. CEDAR: Carbon Efficient Dynamic Allocation and Routing for Agentic LLM Inference. In Proceedings of the 2nd International Workshop on Systems and Methods for Sustainable Large-Scale AI (GreenSys), Edinburgh, UK, 27 April 2026; pp. 25–30. [Google Scholar]
  36. Jaiswal, S.; Jain, K.; Simmhan, Y.; Parayil, A.; Mallick, A.; Wang, R.; Amant, R.S.; Bansal, C.; Ruhle, V.; Kulkami, A.; et al. SageServe: Optimizing LLM Serving on Cloud Data Centers with Forecast Aware Auto-Scaling. Proc. ACM Meas. Anal. Comput. Syst. 2025, 9, 1–24. [Google Scholar] [CrossRef] [Scilit]
  37. Zhang, J.; Luo, C.; Su, Z.; Zhang, Q.; Lü, Z.; Ding, J.; Jin, Y. NS4S: Neighborhood search for scheduling problems via large language models. In Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, Guangzhou, China, 16–22 August 2025; pp. 8687–8695. [Google Scholar]
  38. Werth, B.; Karder, J.; Beham, A.; Altendorfer, K. Simulation-based optimization of material requirements planning parameters. Procedia Comput. Sci. 2023, 217, 1117–1126. [Google Scholar] [CrossRef] [Scilit]
  39. Ghaedy-Heidary, E.; Nejati, E.; Ghasemi, A.; Torabi, S.A. A simulation optimization framework to solve stochastic flexible job-shop scheduling problems—Case: Semiconductor manufacturing. Comput. Oper. Res. 2024, 163, 106508. [Google Scholar] [CrossRef] [Scilit]
  40. Seok, M.G.; Chan, C.W.; Cai, W.; Sarjoughian, H.S.; Park, D. Runtime abstraction-level conversion of discrete-event wafer-fabrication models for simulation acceleration. In Proceedings of the 2020 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, Miami, FL, USA, 15–17 June 2020; pp. 83–92. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.