Abstract
Due to the high degree of automation, automated guided vehicles (AGVs) have been widely used in many scenarios for transportation, and traditional computing power is stretched in largescale AGV scheduling. In recent years, quantum computing has shown incomparable performance advantages in solving specific problems, especially Combinatorial optimization problem. In this paper, quantum computing technology is introduced into the study of the AGV scheduling problem. Additionally two types of quadratic unconstrained binary optimisation (QUBO) models suitable for different scheduling objectives are constructed, and the scheduling scheme is coded into the ground state of Hamiltonian operator, and the problem is solved by using optical coherent Ising machine (CIM). The experimental results show that compared with the traditional calculation method, the optical quantum computer can save 92% computation time on average. It has great application potential.
Similar content being viewed by others
Introduction
The scale of the logistics industry has maintained a considerable growth rate, and many human and material resources have been invested in it, thus creating the laborintensive industry. Improving the automatic and intelligent level of the logistics industry has become an important issue for industry and academia. In recent years, some of the industry’s leading enterprises have already carried out technological reforms. For example, the retail giant, Amazon, has established a huge logistics center, that uses intelligent sorting technology, delivery drones, automated guided vehicles (AGVs), etc. China’s ecommerce giant, Jingdong, has also set up an ‘Asia One’ warehouse, in which more than 100 AGVs are used for transportation operations at the same time^{1}. In addition, technical innovation also occurred in ports. In 1993, the world’s first automated wharf was built in the Amsterdam Port in the Netherlands, and dozens of AGVs were used for container transshipment. With the introduction of technology and the accumulation of operation experience, the construction of automatic terminals has been tried all over the world, and the usage of AGVs has gradually increased. Currently, the use of AGVs has penetrated all aspects of logistics, transportation and production, which has greatly promoted the level of industrial automation and intelligence and improved efficiency.
To meet the needs of application scenarios, the amount of parallel work of AGVs is increasing, which brings great difficulty to the AGV scheduling. AGV scheduling problem is a difficult combinatorial optimization problem, and a large number of researchers have devoted themselves to this field and made some contributions. Singh et al.^{2} considered AGV scheduling with battery constraints, developed a mixedinteger programming model with the objective of minimizing the combined task delay cost and AGV transportation cost, and designed a customized adaptive largeneighborhood search algorithm to solve the model. Zhang et al.^{3} studied an AGV scheduling problem in matrix manufacturing plants, and proposed a mixed integer programming model to minimize the generalized transportation cost, based on which an improved iterative greedy algorithm was designed and compared with six other algorithms to show its superior solution performance. For the scheduling problem of AGVs in smart factories, Zhang et al.^{4} proposed a selforganized dynamic scheduling method, that groups multiple AGVs to perform tasks among themselves and uses improved gene expression programming to learn dynamic scheduling rules. The numerical experimental results show that the method can considerably reduce system costs. Wang and Zeng^{5} studied the port AGV scheduling and path planning problem under conflictfree paths, established a mixed integer model with the objective of minimizing task completion time, and proposed a customized branch and bound algorithm combined with a heuristic algorithm to solve the smallscale problem, and further developed a twostage greedy heuristic algorithm to quickly obtain a satisfactory solution for the largescale problem. Sagar and Jerald^{6} proposed a realtime scheduling strategy for AGVs based on deep reinforcement learning technology, established a Markov decision model for realtime scheduling, and developed a Qlearning algorithm. The superiority of the method is shown through numerical experiments. Considering the scheduling and path planning model of shop floor AGVs, Saidi et al.^{7} developed a discretetime model and proposed a twostage ant colony algorithm to solve the model. From the above literature, the research on scheduling problems of AGVs covers several scenarios such as workshops and terminals. Researchers have built mixed integer programming models, integer programming models, Markov decision process models, etc. The methods used are scheduling rules, exact algorithms, heuristic algorithms, reinforcement learning algorithms, etc. From the results, it is observed that the exact algorithm can generate optimal scheduling solutions, however, its computational time is prohibitively slow, rendering it impractical for largescale problems. Inexact algorithms exhibit favorable efficiency but often converge to local optima. The provision of highquality scheduling solutions within a short timeframe poses a significant challenge.
In recent years, significant advancements have been made in both theoretical understanding and practical applications of quantum computing. The fundamental distinction between quantum computers and traditional computers lies in their reliance on quantum mechanical principles. Quantum computers utilize quantum bits (qubits) as the fundamental units of information storage^{8}, which can exist in superposition states of both 1 and 0, enabling them to hold exponentially more information compared to traditional computers. It is well recognized that quantum computers offer substantial advantages, particularly in addressing specific problems such as combinatorial optimization, often described as the superiority of quantum computing. Many combinatorial optimization problems are NPhard, presenting significant challenges for traditional computers to solve. Combinatorial optimization problem can be mapped to the ground state search problem of Ising model. Hardware systems can be built in many different ways to simulate the process of Hamiltonian reduction, such as adiabatic quantum computing (AQC), quantum annealing (QA), etc. However, it is always a difficult problem to improve the connection density between qubits, which will affect the efficiency of problem solving^{9,10}. Coherent Ising Machine (CIM) is a quantum computer developed according to the optical principle^{11,12,13,14,15,16,17}, which can work at room temperature and deal with largescale problems, such as compression sensor problems^{18} and polyhedron problems^{19}. CIM uses laser pulses in optical fiber as qubits for quantum calculation. The early prototype of CIM is injection synchronous laser Ising machine. The number of coupled lasers in this scheme is proportional to the square of qubits, which is quite difficult. On this basis, optical delay linear CIM and measurement feedback CIM using nonlinear optical crystal instead of laser are developed. The latter uses measurement feedback to avoid the challenge that the former needs to control a large number of optical delay lines accurately^{14}. The machine used in this study is measurement feedback CIM.
AGV scheduling problem can be understood as a kind of routing problem. Most traditional solutions to routing problems require sacrificing large amounts of computational resources and Osaba et al.^{20} indicated that quantum computing techniques have great potential in the area of solving routing and optimization problems. In the early days, Goswami et al.^{21} developed a phase estimation technique to solve the traveling salesman problem (TSP), using IBM’s quantum simulator to provide results for four city cases. Then, researchers tried to solve more complex problems with quantum computing. Feld et al.^{22} presented a quadratic unconstrained binary optimization (QUBO) formulation for solving the vehicle routing problem with capacity constraints, evaluated the solution quality and computation time and compared it with classical solution methods. Bao et al.^{23} proposed a twostage QUBO formulation of the vehicle routing problem with balanced pickup, mapping the first stage to a clustering problem and describing the second stage as a TSP problem, and evaluated it against traditional methods in terms of numerical experimental results. Harwood et al.^{24} tried to establish a qubo model to describe the vehicle routing problem by using the modeling idea of node and arc, and evaluated the model by using analog quantum devices. Geitz et al.^{25} built a QUBO model to solve the jobshop scheduling problem, using quantum computers or simulators, constrained programming and tabu search. The calculation results proved the effectiveness of quantum computing in smallscale situations. And the established QUBO model can be extended to AGV scheduling problem. Ohzeki et al.^{26} formulated an Ising model for the collisionfree scheduling problem of AGVs within a factory setting. They utilized a quantum annealing machine to solve the model, with results demonstrating the potential application of quantum annealing machines in addressing realworld industrial challenges. Based on the above cases, it can be seen that some researchers have begun to use quantum computing to solve practical problems in the field of optimization. However, the research on quantum computing related to AGV scheduling has just started, and many researchers used simulators to solve them, because the current physical real machine resources are scarce, and the scale of solving problems is still relatively small, and it is easy to make mistakes and lacks the running data of physical real machines.
Our contributions
In a word, most of the existing AGV scheduling research adopts traditional models and methods, which can not effectively meet the actual needs of largescale scheduling. Quantum computing has great application potential in solving specific problems that traditional computers cannot solve, and researchers have tried in optimization fields. However, as far as we know, there are few literatures about AGV scheduling using quantum computing technology. Based on these facts, the idea of carrying out this research came into being. The main contributions of this paper are summarized as follows.

1.
In traditional research on the AGV scheduling problem, the computation time increases greatly with an increase in the number of AGVs and tasks. We introduce quantum computing technology into the research of the AGV scheduling problem and construct new QUBO models of AGV scheduling. In real scenarios, dispatchers often set different scheduling objectives according to the nature of the work, among which minimizing the total AGV travel time and minimizing the task completion time (makespan) are the two most common objectives. According to the different objectives, we have deduced different QUBO models, and given the model solutions and related theoretical basis under two different objectives.

2.
We use traditional computer and CIM to carry out numerical experiments on the traditional model and QUBO model proposed by us respectively. The experimental results show that the computation speed of CIM is much faster than that of traditional computer, and the average calculation time is saved by 92%, which proves that CIM has great application potential in solving AGV scheduling problem and similar combinatorial optimization problems.
AGV scheduling model
AGV scheduling problems have many classifications according to different scenarios and considerations. For example, consider the time window of the task, joint optimization of scheduling and path, cooperation with other devices, charging strategy and so on. Due to the limitation of quantum bits of CIM, it is impossible to solve the AGV scheduling problem in complex scenes^{27,28,29}. Therefore, we simplify the problem and keep the essence of AGV scheduling problem. On this basis, we construct the AGV scheduling model. In this section, we present the classical AGV scheduling model based on mixed integer programming (MIP), and propose two new models, which we call the node and arc models.
Problem description
We consider an AGV scheduling problem (to make the problem more general, we do not set up a working scenario), as shown in Fig. 1. Given an AGV set, all AGVs have a unified starting node and ending node, and all AGVs start to accept tasks from the unified starting node until all transportation tasks are completed, and then return to the unified ending node. In the AGV scheduling problem, we are given a set of transportation tasks, each with a starting point and an ending point. For an AGV, the process of completing the transportation task can be described as first arriving at the starting point of the task to load the transported goods, then transporting them to the ending point of the task, and then driving to the starting point of the next task to perform the next task. The travel time of the AGV between any two task points is known. We consider two optimization objectives, the first is to minimize the total AGV travel time and the second is to minimize the maximum task completion time (makespan). The first objective is generally used when the task is not urgent to achieve a reduction in total system energy consumption, while the second objective is set to complete transportation tasks quickly.
Next, we elaborate on the symbolic settings in the problem as follows.
\(V=\{1,\ldots ,k,\ldots ,K \}\) set of AGVs,
\( R=\{1,\ldots ,r,{{r}^{'}},{{r}^{''}},\ldots ,n1 \}\) set of actual tasks,
\({{R}_{1}}=\{0,1,\ldots ,r,{{r}^{'}},{{r}^{''}},\ldots ,n1\}\) set of actual tasks and virtual start task,
\({{R}_{2}}=\{1,\ldots ,r,{{r}^{'}},{{r}^{''}},\ldots ,n\}\) set of actual tasks and virtual end task,
\({{R}^{'}}=\{0,1,\ldots ,r,{{r}^{'}},{{r}^{''}},\ldots ,n\}\) set of all tasks,
\(A=\{(r,{{r}^{'}})\mid r,{{r}^{'}}\in {{R}^{'}}\}\) arc set that consists of all valid task pairs that can be conducted adjacently,
\(\pi =\{1,\ldots ,t,\ldots ,N \}\) set of the sequence of tasks performed by an AGV
a a single task arc
\(\theta _{r}^{+}\) an arc with task r as the left node
\(\theta _{r}^{}\) an arc with task r as the right node
\(r_{\text{s}}\) starting point of task r,
\(r_{\text{d}}\) ending point of task r.
\({{e}_{{{r}_\text{s}}{{r}_\text{d}}}}\) indicates the travel time of the AGV from two points \({{r}_\text{s}}\) and \({{r}_\text{d}}\),
\({{e}_{{{r}_\text{d}}r_\text{s}^{'}}}\) indicates the travel time of the AGV from two points \({{r}_\text{d}}\) and \(r_\text{s}^{'}\),
\({{c}_{r{{r}^{'}}}}\) contains two parts of time, the first part is the time from the start of task r to the end of task r, and the second part is the time from the end of task r to the start of task \({r}^{'}\), \({{c}_{r{{r}^{'}}}}={{e}_{{{r}_{s}}{{r}_{d}}}}+{{e}_{{{r}_{d}}r_{s}^{'}}}\).
Mixed integer programming model
In this subsection, we introduce the classical model of AGV scheduling. The classical model is formed as a mixed integer programming, and it has the following variables.
\({{y}_{r,{{r}^{'}},k}}\) binary variable, equal to 1 if task r is performed directly prior to \({{r}^{'}}\) by AGV k, 0 otherwise;
\(f^\text{s}_{rk}\) arrival time of AGV k at the start node of task r;
\(f^\text{d}_{rk}\) arrival time of AGV k at the end node of task r;
T the makespan for AGVs to perform transportation tasks.
The first optimization objective of the MIP model is to minimize the total AGV travel time, and its model is presented as follows.
The objective function (1) is to minimize the total travel time of the AGV. Constraints (2) and (3) ensure that all AGVs need to complete the virtual start task and the virtual end task, and constraints (4) guarantee that all actual tasks are uniquely assigned to a particular AGV. Constraints (5) ensure that each AGV completes its task satisfying the flow balance. Then, constraints (6) guarantee that the virtual start task starts and ends at moment 0. Constraints (7) states that the time to reach the end of a task is equal to the time to reach the start of that task plus the transport time from the start to the end. Constraints (8) indicates that the time to reach the start of a task is later than the time to reach the end of the previous task plus the transportation time required to reach the start of that task from the end of the previous task, where M is a sufficiently large value. The last constraints (9) eliminates task selfcitation. Constraints (10) and (11) represent range limits of variables.
A slight modification of the above model can be used as a model for minimizing the makespan for AGVs to perform transportation tasks, which is given as follows, Eqs. (2)–(11).
where T denotes the makespan. The objective function is to minimize T, and constraints (13) denotes that T must be no less than the time required by the last AGV to complete the task.
QUBO model
QUBO and Ising model
This section mainly describes the concepts of QUBO model and Ising model and their relationship. QUBO is an expression of optimization problem, and its goal is to find binary variables that minimize quadratic polynomials. Ising model was first put forward and applied in statistical physics. It describes a system composed of interacting units, in which each spin particle must have two possible random states (such as + 1 and − 1), and then it was introduced into the field of mathematics as a model to describe a series of optimization problems. Many combinatorial optimization problems can be expressed in the form of quadratic unconstrained binary optimization or ising model, and they can be transformed into each other^{30,31,32}. The general expression of QUBO model is shown in Eq. (14).
where x is a z dimensional vector of binary variables, Q is the quadratic coefficient matrix, and \({{c}^\texttt{T}}\) is the coefficient matrix of the primary term.
The above model in the form of QUBO can be easily transformed into an Ising model, and the variable range of the Ising model is \(\left\{ 1,1 \right\} \). Specifically, it can be realized by variable substitution \({{\sigma }_{i}}=2{{x}_{i}}1\). Then, the optimization function can be expressed in the following form.
where the \({{\sigma }_{i}}\) is spin variable, \({{J}_{ij}}\) and \({{h}_{i}}\) are the quadratic and linear coefficients. The solution of Ising problem is to find the ground state of Hamiltonian. CIM solves the Ising problem according to the principle of minimum gain, and can find the ground state or low energy state of Ising Hamiltonian. The method is to map the QUBO problem into a fully connected Ising Hamiltonian with programmable parameters, and obtain the solution of the problem through controllable quantum phase transition^{33,34}.
Node model
In this section, we will describe the node model. The core idea of node model is to regard tasks as nodes and the order of task execution as the order of vehicles passing through nodes.The node model has the QUBO form and is suitable for quantum computing, the variables of the model are described as below.
\({{x}_{r,t,k}}\) binary variable, equal to 1 if task r is assigned to AGV k as it is tth task, 0 otherwise.
The first optimization objective of the node model is to minimize the total AGV travel time, and the model is shown below.
\({{\partial }_{i}}\) \((i=1,\ldots ,6)\) are weights correspond to each objective function. The objective function (17) is to minimize the total travel time of all the AGVs. The minimization function (18) and (19) ensures that for each AGV, the virtual start task and the virtual end task must be the first task and the last task, respectively. For each actual task, we want it to be assigned exactly to one AGV, so we add the minimization function (20). We also consider the minimization function (21) in order to make each AGV perform at most one task on each task sequence. For a particular AGV, the order of its tasks must be continuous, based on which we set the minimization function (22).
The model described below is modified from the above model to accommodate the goal of minimizing the makespan.
The least timeconsuming task model requires finding the AGV with the longest task execution time and minimizing its execution task time, which leads to inequality constraints, as follows.
The objective function (24) is to minimize the makespan T.
Then we add slack variables to transform the above inequality constraint into an equation, as follows.
\({{T}_{k}}\) \((k\in V)\) is the slack variable, and both T and \({{T}_{k}}\) \((k\in V)\) need to be represented by binary variables. \({{\delta }_{i}}\) \( (i=1,2,\ldots ,m)\) and \({{\delta }_{ik}}\) \((i=1,2,\ldots ,{m}^{'}, {k}\in {V})\) are the discretized auxiliary variables we introduce, whose number is related to the size of the arithmetic case and needs to be estimated. A large number of auxiliary variables will make the difficulty of solving soar. In general, to represent an integer between 0 and \(\varsigma \), \(\left[ {{\log }_{2}} \varsigma \right] +1\) discretized auxiliary variables need to be introduced, where \([\varsigma ]\) denotes the largest integer that does not exceed \(\varsigma \). Of course, if there are noninteger values introduced in the calculation example, then it is necessary to introduce an approximate representation. First, we introduce the precision matrix as follows:
Then the real numbers \({{\varpi }_{i}}\) \((i=1,\ldots ,L)\) in some interval can be approximated as follows.
where \({{b}_{i}}\in {{\{0,1\}}^{L}}\) \((i=1,\ldots ,L)\). If the error is expressed in terms of \(\phi \), the error satisfies the following relation:
In this way, we can rewrite (24) and (25) as follows.
The positive real numbers can be approximated using integer auxiliary variables. \({{\sigma }_{j}}\) \((j=1,2\ldots ,L)\) and \({{\sigma }_{jk}}\) \((j=1,2,\ldots ,{{L}^{'}},k\in V)\) are used to approximate the decimal part. The number of binary variables used is related to the required approximate accuracy, as shown in Formula (28).
Thus, the model under this objective can be represented as follows, Eqs. (18)–(22), (24)–(25), (31)–(32).
In (33), \({{\varepsilon }_{i}}\) \((i=1\ldots ,7)\) are weights for each objectives. The model does not satisfy the QUBO form, because \({{H}_{Z}}\) is a quadrinomial binary polynomial, which needs to be degenerated. Next, we provide some analysis of the \({{H}_{Z}}\). First, to make it easier to show our results, we perform a variable substitution, as follows:
The total number of tasks is N, and \(\eta \) contains \(({{N}^{2}}3N+3)(N1)\) monomials. Then \({{H}_{Z}}\) can be expanded as follows.
In the \({{H}_{Z}}\), \({{\eta }^{2}}\) is a quadrinomial binary polynomial, \(2\eta T\) and \(2\eta {{T}_{k}}\) are cubic binary polynomials, and \({{T}^{2}}\), \(T_{k}^{2}\) and \(2T{{T}_{k}}\) are all quadratic binary polynomials, so we need to reduce \({{\eta }^{2}}\), \(2\eta T\) and \(2\eta {{T}_{k}}\). The number of quardrinomial binary monomials in \({{\eta }^{2}}\) is represented by \({{\tau }_{4}}\), and \({{\tau }_{4}}\) is as follows:
Note that
where \({{\mathbb {Z}}^{+}}\) represents the set of all positive integers. Equation (37) indicates that any power of the binary variable itself is equal to itself, and thus, \(\tau _{4}^{'}\) quardrinomial monomial can be directly reduced, and its specific number is as follows.
Therefore, the number of quadrinomial polynomials that truly need to be reduced is \({{\tau }_{4}}\tau _{4}^{'}\) terms. Looking at the part of cubic polynomial, the number of cubic monomials in \({{H}_{Z}}\) is represented by \({{\tau }_{3}}\), and then \({{\tau }_{3}}\) is as follows:
Then, the number of all polynomials in \({{H}_{Z}}\) that need to be descended \(\tau \) is as follows:
At least \(\tau \) binary auxiliary variables must be introduced to complete the descending order according to a paper^{35}. Due to the number of auxiliary variables introduced, the processing is more complex and it is difficult to calculate using existing quantum computers. So this model will not be introduced so far in this paper.
Arc model
In this section we will describe the arc model. The core idea of arc model is that the sequence of tasks before and after execution is regarded as an arc connected between nodes, and building the model with arc as the basic unit can reduce the dimension. The arc model also has a QUBO form with the same parameter settings as the node model, and the decision variables are shown below.
\({{\upsilon }_{a,t,k}}\) binary variable, equal to 1 if arc a is assigned to AGV k in sequence t, 0 otherwise.
As with the node model, we first explore the model with the optimization objective of minimizing the total travel time.
\({{\beta }_{i}}\) \((i=1,\ldots ,8)\) are weights for the corresponding objective. The objective function (42) is to minimize the total travel time of the AGV. We want all AGVs to be executed in the first order a task arc that starts with a virtual start task, so we add the minimization function (43). The minimization function (44) means that the last task completed by each AGV must be a virtual end task. We want to complete at most one task arc in a certain order of an AGV, so we add the minimization function (45). The minimization function (46) indicates that for each actual task, we want a certain task arc with it as the starting node to be assigned to an AGV in a certain order of completion, and we want the virtual start task to be completed only once for each AGV, so we add the minimization function (47). Similarly, for each AGV, its virtual end task can only be completed once, so we add the minimization function (48). The minimization function (49) ensures that for each AGV, it is must to satisfy the flow balance when performing the task arc.
Next, we show a model with the goal of minimizing the makespan as follows, Eqs. (42)–(49).
Numerical experiments
In this section, we provide rich numerical experimental results, and research data can be obtained on public databases^{36}. In the first subsection we use Gurobi^{37} solver to solve the MIP model proposed above on a traditional computer, and show its computing performance under different problem scales. In the second subsection we use optical quantum computer to solve the problem cases of node model and arc model at different scales. And the computation performance is compared with that of traditional computers.
The CIM we used is provided by Beijing Qboson Quantum Technology Co.Ltd, and its structure and principle diagram are shown in Fig. 2. The components of this CIM are mainly composed of optical parts and electrical parts. The optical part of the machine is composed of pulsed laser, erbiumdoped fiber amplifier(EDFA), fiber rings and periodically poled lithium niobate (PPLN) crystals, while the electrical part is mainly composed of optical balanced homodyne detectors (BHD), analogtodigital/digitaltoanalog (AD/DA) converter and fieldprogrammable gate array (FPGA). The laser emits laser with a repetition frequency of 100mhz, which is amplified by EDFA, and then the amplified laser frequency is doubled by PPLN crystal to generate 780 nm laser, which is used as the pump source to synchronously pump the phase sensitive amplifier, forming degenerate optical parametric oscillation(DOPO). There are 211 oscillation pulses in the fiber ring, and the time interval between adjacent pulses is 10 ns, so the transmission time of optical pulses in the ring is 2.11 µs. Then, the laser output in the fiber ring and the laser with the fundamental frequency of 1560 nm are determined by BHD, and the FPGA obtains the feedback signal of the next round trip according to the interaction intensity between spins in Ising Hamiltonian, which is used as the control signal of the intensity modulator (IM), and its sign defines the phase shift (0 or \(\pi \)) of the phase modulator (PM)^{9,14,34,38}.
To compare the performance between CIM and traditional computer, we also run our experiments with Gurobi 9.5.1 on a Mechrevo computer with 2.8 GHz Intel Core i7 CPU and 8GB memory, using up to four threads. The task points used in this experiment are randomly selected on the twodimensional axis, ranging from 10 to 90, and then Euclidean distance is used as the length between two points, and we design the speed of each AGV to be constant, the time passing through the unit distance is the unit time.
Computing on a traditional PC
In this section, we use Gurobi to solve the mixed integer programming model of AGV scheduling for two optimization objectives. In “Number of tasks” we show experiments on the variation in computation time with the number of tasks, while in “Number of AGVs” we show experiments on the variation in computation time with the number of AGVs. We set a time limit to 1800 seconds for each run.
Number of tasks
In general, an increase in the number of tasks leads to a slower generation of AGV scheduling solutions. In this subsection, we investigate the effect of task number variation on the computational speed of the three models proposed in this paper. To achieve this goal, we generate instances of 4 tasks to 12 tasks with a fixed number of AGVs of 2 and obtain the computational time graphs shown in Fig. 3, where the left figure takes the minimum total travel time as the objective function, and the right figure takes the minimum makespan as the objective function. The legend section represents the model number, which corresponds to the previous section number.
In Fig. 3, we find that the computing speed of mixed integer programming model gradually slows down with the increase of the number of AGV tasks, and the computation time increases sharply when the number of tasks reaches a certain critical value, which is a common property reflected by two different objective functions. Especially when the number of tasks increases to 12, the computing time has exceeded 1800s, which reflects the weakness of traditional models in the face of largescale problems.
Number of AGVs
In this subsection, we hope to explore the influence of the change of AGV number on the computing time of mixed integer programming model, so we fixed the number of tasks as 10 and 11, and set the number of AGVs in the range from 2 to 8. We show the results in Tables 1 and 2. Notation “–” in the table implies that the corresponding model failed to obtain an optimal solution within the time limit. An instance with a tasks and b AGVs are denoted by “a–b”.
From the results obtained in Tables 1 and 2, we can conclude that there is no strict correlation between the number of AGV and the computing time. Table 1 shows the computational performance of the three models under the objective of minimize the total travel time, and we can observe that the computational performance of the MIP model is very poor, and many groups of experiments failed to obtain an optimal solution within the limited time. Table 2 shows the computational performance of the MIP model under the objective of minimize the makespan, and the model performs much better, the optimal solution is obtained in the limited time in all groups of experiments. However, its computation time is still at a great disadvantage.
Computational experiment on CIM
In this subsection, we use the CIM to solve the QUBO model and compare its performance with the MIP solver on traditional PC. Since the maximum number of Quantum bits of the CIM used in this research is 100, all the comparative examples in this section limit the number of variables to 100. Based on this, we completed six groups of computation experiments with a quantum computer. In all the experiments, the number of AGV was limited to two. For the numerical experiment of node model, we set the number of tasks to 4 to 7, while for the numerical experiment of arc model, we fixed the number of tasks to 4.
In Figs. 4 and 5, we plot the evolution of Ising Hamiltonian with time under node model and arc model, respectively. According to the above explanation of CIM principle construction, we can know that the time interval between every two adjacent data points in the figure is 2.11 microseconds. The Hamiltonian decreases with the passage of time, and the phase transition occurs as the power of the pump light gradually increases to the oscillation threshold. The solution obtained when reaching the lowest energy state is the result of CIM solution, and the corresponding time at this time is the computation time.
Figures 6 and 7 show the schematic diagrams of CIM’s solution under node model and arc model. Among them, Fig. 6 contains four parts, which respectively represent the schematic diagrams under 47 tasks, while Fig. 7 contains two parts, which respectively represent the schematic diagrams of solving two objective functions under 4 tasks. In fact, Ising model can be transformed into the corresponding representation of maximum cut problem^{15}. The maximum cut problem is usually used as a measure and demonstration basis for the complexity of quantum computing problems and the distribution of solutions. The figure shows the solution of our problem expressed by the representation method of maximum cut problem. Points with different colors indicate that they are in different groups, and the connecting lines of points in the same group are gray, while those of points in different groups are red. In these figures, we can clearly perceive the complexity of each model at different scales.
Here, we compare the performance of node model and arc model on quantum computer with that of mixed integer programming model on traditional computer, and the comparison results are shown in Table 3. An instance with a tasks and b AGVs are denoted by “a–b”.
Due to the limitation of hardware, the comparison of largescale examples cannot be carried out. However, from Table 3, we can see that the solutions obtained by CIM are all optimal solutions. And the CIM is much faster than the traditional computer in smallscale examples. We can observe that CIM has obvious performance advantages over traditional computers in smallscale examples. In particular, when the scale increases, the time required for CIM does not increase significantly as that of traditional computers. This shows that CIM has great development and application potential. In addition, there is little difference in computing performance between node model and arc model on quantum computer. Node model is slightly faster than arc model, but arc model is more universal than node model. In order to measure the improvement of CIM’s computing efficiency compared with the traditional computer in the given example, we propose the following computation formula.
IMP represents the calculation speed improvement rate, \(Q_{TRA}\) and \(Q_{CIM}\) respectively represent the computation time of traditional computer and CIM on the same example, and both node model and arc model participate in the comparison. After calculating the IMP of all examples, we find that the computation efficiency of CIM is \(92\%\) faster than that of traditional computers.
Conclusion and future research
We applied quantum computing technology to the research on AGV scheduling, and proposed QUBO models that adapts to solve the problem under two different criteria, minimizing total AGV travel time and makespan. Compared with the traditional MIP model, numerical experiments were carried out on traditional computers and CIM. The experimental results proved the superiority and great potential of quantum computing in this field. Of course, due to the limitation of hardware, there are still some shortcomings in this study, which can not show the advantages of quantum computing in largescale situations. It is believed that with the continuous development of quantum computing technology, the outstanding performance of quantum computing will be demonstrated in solving largescale problems in the future. In addition, we also summarized the situation that this study can expand, as follows.
First, the model can be improved and expanded. The model we considered above applies to AGVs with a uniform start node and a uniform end node. Realistic scenarios exist where AGVs have different start and end nodes, and our model is easily expandable for these types of cases. The solution is to involve the number of virtual start and end tasks based on the number of AGVs. Due to the difficulty of mapping largescale optimization problems to the QUBO form with the small number of bits currently available for quantum computing, our proposed model is a pure scheduling problem that does not consider path optimization. Of course, subsequent researchers can consider this possibility in the case of mature technology. We believe that a twolayer planning model can be built on the basis of the existing model, where the scheduling and path planning problems are computationally solved alternately in two submodels, which reduces both the modeling difficulty and the number of bits used in the solution of a single model.
Second, quantum computer and traditional computer can be combined to study AGV scheduling problem, and their respective characteristics can be better used to improve the efficiency of solving this problem.
Data availability
The datasets used and/or analysed during the current study available from the corresponding author on reasonable request.
Abbreviations
 AGVs:

Automated guided vehicles
 QUBO:

Quadratic uncontrained binary optimization
 CIM:

Coherent Ising machine
 TSP:

Traveling salesman problem
 MIP:

Mixed integer programming
 FPGA:

Field programmable gate array
 EDFA:

Erbiumdoped fiber amplifier
 PSA:

Phase sensitive amplifier
 DOPO:

Degenerate optical parametric oscillation
 BHD:

Balanced homodyne detectors
References
Qin, H. et al. Jd.com: Operations research algorithms drive intelligent warehouse robots to work. INFORMS J. Appl. Anal. 52, 42–55 (2022).
Singh, N., Dang, Q.V., Akcay, A., Adan, I. & Martagan, T. A matheuristic for AGV scheduling with battery constraints. Eur. J. Oper. Res. 298, 855–873 (2022).
Zhang, X.J., Sang, H.Y., Li, J.Q., Han, Y.Y. & Duan, P. An effective multiAGVs dispatching method applied to matrix manufacturing workshop. Comput. Ind. Eng. 163, 107791 (2022).
Zhang, L., Yan, Y., Hu, Y. & Ren, W. A dynamic scheduling method for selforganized AGVs in production logistics systems. Procedia CIRP 104, 381–386 (2021).
Wang, Z. & Zeng, Q. A branchandbound approach for AGV dispatching and routing problems in automated container terminals. Comput. Ind. Eng. 166, 107968 (2022).
Sagar, K. V. & Jerald, J. Realtime automated guided vehicles scheduling with Markov decision process and double qlearning algorithm. Mater. Today Proc. 64, 279–284 (2022).
SaidiMehrabad, M., DehnaviArani, S., Evazabadian, F. & Mahmoodian, V. An ant colony algorithm (aca) for solving the new integrated model of job shop scheduling and conflictfree routing of AGVs. Comput. Ind. Eng. 86, 2–13 (2015).
Ajagekar, A., Humble, T. & You, F. Quantum computing based hybrid solution strategies for largescale discretecontinuous optimization problems. Comput. Chem. Eng. 132, 106630 (2020).
Yamamoto, Y. et al. Coherent ising machinesoptical neural networks operating at the quantum limit. NPJ Quant. Inf. 3, 49 (2017).
Bunyk, P. I. et al. Architectural considerations in the design of a superconducting quantum annealing processor. IEEE Trans. Appl. Supercond. 24, 1–10 (2014).
Wang, Z., Marandi, A., Wen, K., Byer, R. L. & Yamamoto, Y. Coherent ising machine based on degenerate optical parametric oscillators. Phys. Rev. A 88, 063853 (2013).
Marandi, A., Wang, Z., Takata, K., Byer, R. L. & Yamamoto, Y. Network of timemultiplexed optical parametric oscillators as a coherent ising machine. Nat. Photon. 8, 937–942 (2014).
McMahon, P. L. et al. A fully programmable 100spin coherent ising machine with alltoall connections. Science 354, 614–617 (2016).
Inagaki, T. et al. A coherent ising machine for 2000node optimization problems. Science 354, 603–606 (2016).
Honjo, T. et al. 100,000spin coherent ising machine. Sci. Adv. 7, 0952 (2021).
Lu, B., Fan, C.R., Liu, L., Wen, K. & Wang, C. Speedup coherent ising machine with a spiking neural network. Opt. Express 31, 3676–3684 (2023).
Lu, B., Liu, L., Song, J.Y., Wen, K. & Wang, C. Recent progress on coherent computation based on quantum squeezing. AAPPS Bull. 33, 7 (2023).
Aonishi, T., Mimura, K., Okada, M. & Yamamoto, Y. L0 regularizationbased compressed sensing with quantumclassical hybrid approach. Quant. Sci. Technol. 7, 035013 (2022).
Takabatake, K., Yanagisawa, K. & Akiyama, Y. Solving generalized polyomino puzzles using the ising model. Entropy 24, 354 (2022).
Osaba, E., VillarRodriguez, E. & Oregi, I. A systematic literature review of quantum computing for routing problems. IEEE Access (2022).
Goswami, D., Karnick, H., Jain, P. & Maji, H. K. Towards efficiently solving quantum traveling salesman problem. http://arxiv.org/abs/quantph/0411013 (2004).
Feld, S. et al. A hybrid solution method for the capacitated vehicle routing problem using a quantum annealer. Front. ICT 6, 13 (2019).
Bao, S., Tawada, M., Tanaka, S. & Togawa, N. An approach to the vehicle routing problem with balanced pickup using ising machines. in 2021 International Symposium on VLSI Design, Automation and Test (VLSIDAT), 1–4 (IEEE, 2021).
Harwood, S. et al. Formulating and solving routing problems on quantum computers. IEEE Trans. Quant. Eng. 2, 1–17 (2021).
Geitz, M., Grozea, C., Steigerwald, W., Stöhr, R. & Wolf, A. Solving the extended job shop scheduling problem with AGVs: Classical and quantum approaches. in Integration of Constraint Programming, Artificial Intelligence, and Operations Research, 120–137 (Springer, 2022).
Ohzeki, M., Miki, A., Miyama, M. J. & Terabe, M. Control of automated guided vehicles without collision by quantum annealer and digital devices. Front. Comput. Sci. 1, 1–10 (2019).
Dang, Q.V., Singh, N., Adan, I., Martagan, T. & van de Sande, D. Scheduling heterogeneous multiload AGVs with battery constraints. Comput. Oper. Res. 136, 105517 (2021).
Hu, Y., Yang, H. & Huang, Y. Conflictfree scheduling of largescale multiload AGVs in material transportation network. Transp. Res. E 158, 102623 (2022).
Murakami, K. Timespace network model and milp formulation of the conflictfree routing problem of a capacitated AGV system. Comput. Ind. Eng. 141, 106270 (2020).
Ising, E. Contribution to the theory of ferromagnetism. Z. Phys. 31, 253–258 (1925).
Nabors, C., Yang, S., Day, T. & Byer, R. Coherence properties of a doubly resonant monolithic optical parametric oscillator. JOSA B. 7, 815–820 (1990).
Marandi, A., Leindecker, N. C., Pervak, V., Byer, R. L. & Vodopyanov, K. L. Coherence properties of a broadband femtosecond midir optical parametric oscillator operating at degeneracy. Opt. Express 20, 7255–7262 (2012).
Nannicini, G. Performance of hybrid quantumclassical variational heuristics for combinatorial optimization. Phys. Rev. E 99, 013304 (2019).
Wen, J. et al. Optical experimental solution for the multiway number partitioning problem and its application to computing power scheduling. Sci. Chin. Phys. Mech. Astron. 66, 290313 (2023).
RodríguezHeck, E. Linear and quadratic reformulations of nonlinear optimization problems in binary variables. 4OR 2, 221–222 (2018).
Chao Yang. Data set. Figshare (2024). Accessed 01 Mar 2024.
Gurobi Optimization, LLC. Gurobi Optimizer Reference Manual (2023).
Huang, Y. et al. Quantum computing for mimo beam selection problem: Model and optical experimental solution. http://arxiv.org/abs/2310.12389 (2023).
Acknowledgements
The authors would like to thank the team of Bose Quantum Technology Co., Ltd. for helping to obtain experimental data on a quantum computer, the members of this team include Kai Wen, Congyu Cao, Yin Ma and Hai Wei.
Funding
This work was partially supported by Grants (72372015, 71871038）from the National Natural Science Foundation of China, Liaoning Provincial Natural Science Foundation (2023MS125), and the General support project of China Postdoctoral Science Foundation (2019M661085), and the Humanities and Social Science Foundation of the Ministry of Education(21YJAZH070). Wei Wu was partially supported by JSPS KAKENHI [Grant No.~21K14367] and Industrial Technology Development Organization (NEDO) project (JPNP23003).
Author information
Authors and Affiliations
Contributions
L.T. has carried out research work division and personnel deployment. C.Y. and W.W are responsible for building the model, and C.Y. is also responsible for the numerical experiment of the classic computer. K.W and his team are responsible for numerical experiments and technical support related to quantum computing. Y.Y.G is responsible for providing guidance on relevant business background. Everyone participated in the writing and revision of the paper. Submission of a paper implies that the work described has not been published previously, that it is not under consideration for publication elsewhere and that its publication is approved by all authors and tacitly or explicitly by the responsible authorities where the work was carried out. Submission also implies that, if accepted, it will not be published elsewhere in the same form, in English or in any other language, without the written consent of the publisher.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Tang, L., Yang, C., Wen, K. et al. Quantum computing for several AGV scheduling models. Sci Rep 14, 12205 (2024). https://doi.org/10.1038/s41598024628216
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598024628216
Keywords
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.