Next Article in Journal
Sustainable Agriculture with Self-Powered Wireless Sensing
Previous Article in Journal
Exploring the Influence of Environmental and Crop Management Factors on Sorghum Nutrient Composition and Amino Acid Digestibility in Broilers
Previous Article in Special Issue
Design and Experiment of Electric Uncrewed Transport Vehicle for Solanaceous Vegetables in Greenhouse
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Traversal Path Planning and Collaborative Scheduling for Corn Harvesting and Transportation in Hilly Areas Based on Dijkstra’s Algorithm and Improved Harris Hawk Optimization

Institute of Modern Agricultural Equipment, Xihua University, Chengdu 610039, China
*
Author to whom correspondence should be addressed.
Agriculture 2025, 15(3), 233; https://doi.org/10.3390/agriculture15030233
Submission received: 2 January 2025 / Revised: 13 January 2025 / Accepted: 18 January 2025 / Published: 22 January 2025
(This article belongs to the Special Issue New Energy-Powered Agricultural Machinery and Equipment)

Abstract

:
This study addresses the challenges of long traversal paths, low efficiency, high fuel consumption, and costs in the collaborative harvesting of corn by harvesters and grain transport vehicles in hilly areas. A path-planning and collaborative scheduling method is proposed, combining Dijkstra’s algorithm with the Improved Harris Hawk Optimization (IHHO) algorithm. A field model based on Digital Elevation Model (DEM) data is created for full coverage path planning, reducing traversal path length. A field transfer road network is established, and Dijkstra’s algorithm is used to calculate distances between fields. A multi-objective collaborative scheduling model is then developed to minimize fuel consumption, scheduling costs, and time. The IHHO algorithm enhances search performance by introducing quantum initialization to improve the initial population, integrating the slime mold algorithm for better exploration, and applying an average differential mutation strategy and nonlinear energy factor updates to strengthen both global and local search. Non-dominated sorting and crowding distance techniques are incorporated to enhance solution diversity and quality. The results show that compared to traditional HHO and HHO algorithms, the IHHO algorithm reduces average scheduling costs by 4.2% and 14.5%, scheduling time by 4.5% and 8.1%, and fuel consumption by 3.5% and 3.2%, respectively. This approach effectively reduces transfer path costs, saves energy, and improves operational efficiency, providing valuable insights for path planning and collaborative scheduling in multi-field harvesting and transportation in hilly areas.

1. Introduction

Path planning is crucial for the collaborative operation of multiple agricultural machines, as a scientifically designed and efficient path-planning method can significantly improve operational efficiency and reduce costs [1]. However, despite China being one of the major corn-producing regions in hilly areas, the development of agricultural mechanization in these areas has been slow due to the uneven terrain, scattered farmlands, and difficult road conditions. As a result, corn planting in hilly regions primarily consists of small-scale farming and slope land cultivation [2]. To ensure the adequate harvesting and timely transportation of corn, it is necessary to implement rational multi-machine collaborative path planning to ensure that the corn harvester can efficiently cover the farmland and the transport vehicles can promptly deliver the grain, thereby improving both the yield and quality of corn. However, in hilly areas, difficult road access and uneven terrain can cause delays and higher labor costs, reducing the efficiency of harvesting and transportation and impacting economic benefits. Additionally, the extended traversal paths, the urgency of timely harvesting, and the need for timely transportation further exacerbate these challenges [3]. This has led to increased demand for the optimal configuration and scheduling of harvesters and transport vehicles, necessitating more efficient path optimization strategies. Furthermore, the fuel consumption of agricultural machinery has become a widely discussed issue in both academic and industrial circles [4]. Finding ways to achieve energy savings, reduce consumption, and reduce cost during the harvesting and transportation processes in hilly areas through reasonable and efficient path optimization has become an urgent problem that needs to be addressed in the agricultural sector.
The research on multi-machine collaborative scheduling mainly focuses on field resource scheduling and path planning. Firstly, for the field path-planning problem, reference [5] achieved path planning for autonomous robots through Simultaneous Localization and Mapping (SLAM) and deep learning (DL) with artificial vision, and the results demonstrated that the intelligent algorithm has high accuracy. Reference [6] combines the D*Lite algorithm with the Dynamic Window Approach (DWA) using a two-layer graph and feasible domain strategy, resulting in a good optimization effect in terms of global planning time and time cost. Reference [7] proposes a new global and local fusion path-planning algorithm, effectively addressing the issues of excessive path redundancy and too many turning points. Secondly, in terms of multi-machine scheduling. Reference [8] proposes agricultural machine scheduling and path-planning algorithms based on simulated annealing, addressing the path-planning problems for both homogeneous and heterogeneous agricultural machines. References [9,10] convert the multi-machine collaborative scheduling problem into a vehicle routing problem, using improved tabu search algorithms to determine reasonable agricultural machine operation path planning and scheduling schemes. Reference [11] introduces a joint optimization problem consisting of vehicle routing and assignment problems and uses mixed-integer programming to optimize wheat harvesting and transportation paths. Additionally, reference [12] investigates the multi-machine collaborative scheduling problem for multiple farmlands. For the scheduling of harvesting and transportation operations, reference [13] applies NSGA-III and ant colony algorithms to achieve collaborative scheduling of harvesters and transport vehicles, effectively reducing transfer distances. Reference [14] focuses on path optimization for harvester and transport vehicle operations in the field, significantly reducing loading and unloading times, though it does not comprehensively address the complex constraints of multi-machine operations in the field.
In summary, existing research primarily focuses on coverage path planning for a single large farmland plot or traversal path planning for multiple plots. However, research on multi-machine, multi-field traversal path planning in hilly areas is relatively scarce. Moreover, the full coverage operational path planning for corn harvesters and the scheduling path problems for transport vehicles are complex combinatorial optimization problems, which require consideration of key factors such as fuel consumption, time windows, capacity, and path costs [15]. Farmlands in hilly areas are densely distributed and influenced by slopes. While single-machine path planning for multiple plots is relatively straightforward, multi-machine collaborative path planning faces challenges due to frequent transfers between fields. Therefore, this study aims to explore a multi-machine field traversal path-planning method suitable for hilly areas.
First, a field model is constructed based on Digital Elevation Model (DEM) data to achieve full coverage path planning for the corn harvester. To address the issue of unclear connectivity during the harvesting and transportation process, a road network for field transfers is established. Additionally, a traversal algorithm combining Dijkstra’s algorithm and the Improved Harris Hawk Optimization (IHHO) is proposed. Dijkstra’s algorithm is used to find the shortest path between nodes in the field road network graph. Furthermore, to improve harvesting and transportation efficiency and identify the optimal traversal path, a multi-machine collaborative scheduling model is developed, with the IHHO algorithm employed to solve this model.
To overcome the issues of local optima and premature convergence often encountered in the HHO algorithm, initialization is enhanced using a good point set and quantum computing. The update strategy for the nonlinear energy factor is also improved to increase search efficiency. Moreover, the exploration phase is integrated with the slime mold algorithm to enhance the global search capability. To improve local search ability and diversity, an average differential mutation strategy is introduced, preventing premature convergence and avoiding local optima. Additionally, non-dominated sorting and crowding distance calculations are employed to balance multiple objective functions, maintaining the diversity of the population.
Finally, simulation testing and statistical analysis are conducted using actual farmland data to evaluate and improve the algorithm. The results demonstrate that the Dijkstra and IHHO algorithms offer significant advantages in solving multi-machine collaborative field path-planning problems. The proposed approach is highly effective in improving harvesting and transportation efficiency, reducing costs, and enhancing energy savings, thus providing substantial practical application value.

2. Harvester Field Operation Environment Model

2.1. Full Coverage Environment Modeling

The hilly areas are characterized by irregularly shaped, densely distributed, and unordered farmland plots, with a three-dimensional terrain that poses significant challenges for collaborative harvesting and transportation operations, as well as for full coverage path planning. To achieve offline and visualized full coverage path planning and collaborative harvesting tasks, this study employs a geometric approach [16] for environmental modeling. The operational environment of the harvester and transport vehicle is mapped into geometric space using points, lines, and surfaces to describe the environmental features.
Digital Elevation Model (DEM) data for 20 farmlands near coordinates 31°33′25.15″ N, 104°33′40.51″ E were obtained through electronic mapping. The DEM data were then vector-clipped using ArcGIS (pro 3.3) software to extract the latitude and longitude data for the farmland areas to be worked on. To accurately depict the field boundaries, contour points of the farmland plots were marked one by one. Using Matlab, the latitude and longitude coordinates were converted to UTM coordinates, and the farmland boundaries were subjected to erosion processing. The processed boundary coordinates were returned and represented as polygons. The final field boundary image is shown in Figure 1, where fields are numbered 1 to 20 in sequence.

2.2. Full Coverage Path Planning for Harvester Field Operations

Considering the three-dimensional terrain environment of hilly areas and the operating conditions of autonomous corn harvesters, a reciprocating coverage method [17] is chosen for full coverage path planning. This method is easy to implement and offers the advantage of a high operational coverage rate. Additionally, since tracked agricultural machinery is commonly used for corn harvesting in hilly regions, a right-angle turning approach is adopted.
To maximize energy efficiency and reduce consumption, it is necessary to minimize harvesting duration and path length. Therefore, while ensuring coverage, the number of turns should be minimized [18]. To achieve this, the operation is performed in a manner parallel to the longest side of the farmland plot [19]. Finally, the optimal coverage path’s entry and exit coordinates [20] are output, with the full coverage path diagram displayed in Figure 2. In the diagram, “en” represents the entry point, and “ex” represents the exit point.

3. Multi-Field Connection Path Planning Based on Dijkstra’s Algorithm

3.1. Design of Field Transfer Road Network Graph

Path planning for agricultural machines within a single farmland plot is relatively straightforward. However, due to the lack of clear connectivity between fields, continuous driving routes cannot be established between plots, requiring repeated searches for suitable transfer points. This increases harvesting and transportation time and costs. Therefore, to establish a connection between fields, key nodes such as turning points, entry/exit points, and the locations of agricultural machinery storage facilities are set at the field boundaries in the headland areas, facilitating the selection of nodes and transfers by the machinery. Using this approach, a road network graph between multiple fields is constructed [21], as shown in Figure 3.
The key nodes obtained using the above method for connecting multiple fields may not always represent the shortest path. To address this issue, this study adopts a method of adding additional key nodes between adjacent key nodes through linear interpolation, thereby ensuring a more continuous and accurate path representation, which allows Dijkstra’s algorithm to compute the optimal path more effectively. Given that the transport vehicle must repeatedly cooperate with the harvester for loading and unloading in the field, it is specified in this study that the harvester and transport vehicle can only find the shortest path through Dijkstra’s algorithm.

3.2. Solving the Shortest Path Using Dijkstra’s Algorithm

To further reduce the redundancy of the traversal path and effectively improve harvesting efficiency, this study employs Dijkstra’s algorithm [22], a graph theory method used to find the shortest path, to solve the shortest path problem between key nodes across all fields. Based on a greedy strategy, the algorithm traverses to the neighboring node that is closest and has not been visited, continuing until all nodes have been visited. This process ultimately yields the shortest path and distance between any two nodes, thereby determining the optimal path that the harvester or transport vehicle should take.
Using the established road network graph, the distances between nodes and their adjacency relationships are known. As a result, the entire road network can be represented as an undirected graph with weights, as shown in Figure 4. Additionally, a distance matrix is used to store the adjacency relationships and distance data between nodes, as illustrated in Figure 5, where “Inf” represents an infinite distance between nodes that are not directly connected.

3.3. Iterative Calculation

The values in the matrix are updated through multiple iterations. In each iteration, a vertex Vj with the current shortest distance is selected from the set of vertices V–S, which have not yet been added to the set of determined shortest paths, and added to the set S. First, the set S = {0}, and the initial values of the distance array dist[] are set as dist[i] = edge[0][i] (representing the direct distance from the starting point to other vertices), where i = 1, 2, …, n − 1, and dist[0] = 0. The initial values of the path array path[] are set as path[i] = −1 (indicating that the predecessor vertex has not been determined yet). In each iteration, the vertex Vj with the shortest path is selected, and the path lengths from this vertex to other vertices not yet in set S are updated by comparison. If a shorter path is found from the current vertex to another vertex, the shortest path length for that vertex is updated, and the path array path[] is modified to record the predecessor node for each vertex, as shown in Figure 6.
The path p from the source node 0 to node u is decomposed as 0~(P1)~x → y~(P2)~u, where node y is the first node on path p that does not belong to the set S, and node x (where x ∈ S) is the predecessor of node y on path p. Nodes x and y are distinct, although it is possible that x = 0 or y = u, and path P2 may or may not re-enter S.

4. Collaborative Harvesting and Transport Scheduling Model

4.1. Problem Description

In the actual agricultural harvesting and transportation process, the agricultural machinery equipment available in the machinery storage and the farmland plots to be worked on are typically not unique. A reasonable matching of agricultural machinery to farmland plots can significantly improve harvesting and transportation efficiency. This study transforms the problem of determining the optimal traversal order of harvesters across multiple fields into a Traveling Salesman Problem (TSP) and the task of coordinating transport vehicles for loading and unloading grain with the harvester into a vehicle routing problem (VRP). The scheduling path in the fields is also solved using the Dijkstra method outlined in Chapter 3. The collaborative operation of harvesters and transport vehicles to complete the harvesting and transportation task is regarded as a collaborative scheduling problem. Therefore, this chapter focuses on the collaborative scheduling problem of different capacity harvesters and transport vehicles under time window constraints, as shown in Figure 7.

4.2. Grain Loading and Unloading Process

The traditional grain unloading method, where the harvester stops harvesting when the grain tank is full and proceeds to the transport vehicle parking area on the tractor path to unload, not only affects harvesting efficiency but also increases non-operating time for the harvester, especially when harvesting in large, contiguous, and dense farmlands. To maximize harvesting efficiency and ensure continuity, it is necessary to reduce the downtime of the harvester and predict unloading points when the grain tank is full. A collaborative unloading mode is proposed, where the transport vehicle moves to the unloading point.
However, considering the dynamic complexity of the path and the real-time nature of harvesting and transportation, this study ignores the transport vehicle’s loading and unloading path within the field. The unloading point is defined as the nearest key node from the harvester when it is fully loaded. When the harvester requires unloading, it sends a response instruction to the transport vehicle. To achieve the shortest scheduling path, the optimal responding transport vehicle is selected, and the shortest path to the unloading point is determined using Dijkstra’s algorithm. After unloading, the transport vehicle waits for the next response or returns to the machinery storage, while the harvester continues harvesting until all tasks are completed, after which it returns to the machinery storage.

4.3. Assumptions and Conditions

Based on the above problem description, various factors affecting the operations of the harvester and transport vehicle are considered, and a collaborative scheduling model with time window and capacity constraints is established. The optimization objectives are to minimize scheduling costs, minimize scheduling time, and minimize fuel consumption.
Let the farmland set be F = {f1, f2, …, fk}, the harvester set be H = {h1, h2, …, hk}, the transport vehicle set be G = {g1, g2, …, gk}, and the task set be P = {p1, p2, p3, p4}, where p1 represents transport, p2 represents loading and unloading, p3 represents harvesting operations, and p4 represents return. Here, k represents the maximum number, and A represents the machinery storage. The problem can be described as follows: multiple harvesters h and multiple transport vehicles g need to complete multiple tasks p. For the sake of clarity, the following mathematical symbols are defined, as shown in Table 1.
The following assumptions need to be made prior to the study:
(1)
Each farmland can be accessed by only one harvester and at least zero grain transport vehicles.
(2)
Both the harvester and grain transport vehicles depart from the machinery depot, returning to the depot after all tasks are completed, with the coordinates of the depot known.
(3)
The capacity and travel speed of both the harvester and grain transport vehicles are known.
(4)
The coordinates, time windows, and harvesting requirements for each farmland are known.
(5)
The maximum load capacity of the harvester and grain transport vehicle cannot exceed their respective capacities, and the grain transport vehicle must return to the machinery depot once fully loaded.
(6)
The grain transport vehicle can only move to key nodes to assist the harvester with loading and unloading grain.
(7)
The nearest key node to the position where the harvester is fully loaded is the unloading point.
(8)
The time, distance, and fuel consumption associated with the movement of the grain transport vehicle within the field are ignored.
(9)
It is assumed that there are no machinery failures or obstacles in the field during operations.

4.4. Collaborative Scheduling Model

Objective function:
m i n E = E s t a r t + E f l i e d + E s c h e d u e + E a l l o t m i n C = C d + C f + C p m i n T = max ( T h , T g )
In Equation (1), the fuel consumption E includes the cold start fuel consumption Estart, field harvesting fuel consumption Efield, scheduling fuel consumption Eschedule, and idle fuel consumption Eallot. The scheduling cost consists of the distance cost Cd, fixed cost Cf, and penalty cost for violating time windows Cp. The scheduling time refers to the maximum time taken by any harvester or grain transport vehicle, denoted as Th or Tg.
Among them, the cold start fuel consumption includes startup fuel consumption and idle fuel consumption, as shown in Equation (2), with the calculation formula in Equation (3). Field harvesting fuel consumption includes both harvesting fuel consumption and turning fuel consumption, as shown in Equation (4), with the calculation detailed in Equation (5). Scheduling fuel consumption is shown in Equation (6), and idle fuel consumption is given in Equation (7). The scheduling cost is represented by Equation (8). The scheduling time is shown in Equation (9), where the scheduling time for the harvester includes the travel time, unloading time, and harvesting time. The scheduling time for the grain transport vehicle includes the travel time and loading time.
E s t a r t = E s t a r t 1 + E s t a r t 2
E s t a r t 1 = h = 1 H   ( E s t a r t ( h ) t s t a r t ( h ) ) + g = 1 G   E s t a r t ( g ) t s t a r t ( g ) E s t a r t 2 = h = 1 H   ( E i d l e ( h ) t i d l e ( h ) ) + g = 1 G   E i d l e ( g ) t i d l e ( g )
E f l i e d = E w o r k + E t u r n
E w o r k = f = 1 F   h = 1 H   x i j h E h f l h f D f E t u r n = f = 1 F   h = 1 H   E h q h f D h
E s c h e d u e = i = 1 F   j = 1 F   h = 1 H   x i j h d i j E s h + i = 1 F   j = 1 F   g = 0 G   x i j g d i j E s g
E a l l o t = f = 1 F   h = 1 H   x i j h l h f l h f + 1 E h ( d h f e n + d h f e x )
C d = ( i = 1 F   j = 1 F   h = 1 H   x i j h d i j + i = 1 F   j = 1 F   g = 0 G   x i j g d i j ) d c C f = h = 1 H   C h + g = 1 G   C g       C p = h = 1 H P t h g + g = 1 G P t h g
T h = max ( i = 1 F + A   j = 1 F + A   x i j h d i j V h + h = 1 H   U h + h = 1 H   t h ) T t = max ( i = 1 F + A   j = 1 F + A   x i j g d i j V g + g = 1 G   L g )
Constraints:
i = 1 F   h = 1 H x i j h = 1 i = 1 F   g = 1 G x i j g 0
h = 1 H   i { A } F   j F { A }   d i j x i j h = h = 1 H   i F   j F   d i j x i j h g = 1 G   i { A } F   j F { A }   d i j x i j g = g = 1 G   i F   j F   d i j x i j g
f = 1 F   q f x i j h H v f = 1 F   q f x i j g G v    
U h = L g = D i H v / U e h
P t h g =   C w B i t h g f ;   C l t h g f E i ; 0 , others ;
X i j h = 1 , Harvester h travels from node i to node j 0 , Harvester h does not travel from node i to node j X i j g = 1 , Grain transport vehicle g travels from node i to node j 0 , Grain transport vehicle g does not travel from node i to node j
Equation (10) indicates that each farmland can be accessed by only one harvester and at least zero grain transport vehicles. Equation (11) specifies that all harvesters and grain transport vehicles depart from the machinery depot and return to the depot at the end of their tasks. Equation (12) states that the maximum load of the harvester and grain transport vehicle cannot exceed their respective capacities. Equation (13) implies that the unloading time and loading time are equal. Equation (14) represents the soft time window constraints. Equation (15) defines the decision variables Xijh and Xijg.

4.5. Response Strategy

The grain transport vehicles employ a responsive approach, with the harvester as the responsive entity. The response time Ut is determined based on factors such as the current capacity of the harvester, the time Hht to reach full load, and the harvesting and unloading efficiency. The method calculates the time and distance for the responding grain transport vehicle to reach the unloading point and determines whether it involves idle time. After sorting, the optimal grain transport vehicle is selected to proceed to the unloading point. This approach is of significant practical importance for reducing the waiting time of the harvester and improving the efficiency of harvesting and transportation.
H h t = U t h v / H v
F h = G t + H h t
In Equation (16), Hht represents the time required for the harvester to complete the remaining harvesting tasks, Ut denotes the time when the harvester reaches the unloading state, and hv indicates the current harvested capacity of the harvester. In Equation (17), Fh represents the time at which the harvester completes the harvesting operation for farmland f, and Gt denotes the travel time for grain transport vehicle g to reach farmland f.
To consider the real-time data required for the scheduling of grain transport vehicles, real-time transmission devices (e.g., sensors) are assumed to be used in the actual harvesting and transportation tasks. These devices provide feedback and corrections to acquire real-time data such as the harvested amount and the travel time to the response location. This study assumes that sensors for empty grain bins, full grain bins, and response times have been installed.

5. Collaborative Scheduling and Transportation Planning Based on IHHO

5.1. Model Solution Algorithm Design

The problem addressed in this chapter involves the collaborative scheduling of harvesters and grain transport vehicles, as well as the shortest path problem in the field, which belongs to the NP-Hard category in complex environments. The Harris Hawk Optimization (HHO) algorithm, a newly proposed metaheuristic algorithm in recent years [23], is utilized for solving this problem. This algorithm is inspired by the cooperative behavior and surprise attack hunting style of Harris hawks during prey capture. The optimization process of the HHO algorithm consists of three stages: exploration, exploration-exploitation transition, and exploitation. Its powerful local search capability has been widely applied to solve various optimization problems. The technical approach is shown in Figure 8, with the improvements indicated in red font.

5.2. Model Solution Process

Based on the collaborative scheduling model, the specific improvements to the HHO algorithm and solution process are as follows:
(1)
Parameter setting: Basic parameters for farmlands, machinery storage, harvesters, and grain transport vehicles are set, along with the relevant parameters for the HHO algorithm and slime mold algorithm.
(2)
Encoding and decoding: A real-number encoding scheme is used. The state of each hawk is represented by a string of floating-point numbers between 0 and 1, where each number represents the fitness value for a particular farmland. The fitness value changes based on the distance between the hawk and its prey, as well as the current state of both the hawk and the prey. The decoding process converts the hawk’s state into a specific farmland allocation plan.
(3)
Best point set (BPS) and quantum computing initialization: In the traditional HHO algorithm, the initial population is generated randomly. However, this initialization process can lead to uneven population distribution, reducing population diversity, which significantly affects the quality of the initial solution and convergence speed. Therefore, the BPS method [24] is employed to generate effective and uniformly distributed points, thereby improving global search efficiency. Theoretical research [25] shows that a weighted sum of n best points leads to a smaller error than using any other set of n points, particularly in complex search spaces. Let Gs represent a unit cube in the s-dimensional Euclidean space, and if gGs, as shown in Equation (18), then Pn(k) denotes the best point set, with g being the best point.
P n ( k ) = g 1 ( n ) × k , g 2 ( n ) × k , , g s ( n ) × k , 1 k n
φ ( n ) = C ( g , ε ) n 1 + ε
Equation (19) represents the deviation, where C(g,ε) is a constant that depends only on g and ϵ(ϵ > 0). Let g = {2cos(2πk/p)}, where 1 ≤ ks, and p is the smallest prime number such that (p − 3/2) ≥ s.
Based on the initial population obtained from the BPS initialization, quantum computing [26] is further employed to generate additional initial populations. This process improves the distribution quality of the initial population within the search space. In this case, quantum bits (qubits) can simultaneously exist in a superposition of two quantum states:
| φ = α | 0 + β | 1
In Equation (20), the quantum state ∣ φ ⟩ is a superposition between the ∣0⟩ and ∣1⟩ states, with α and β representing the probability amplitudes of the quantum states ∣0⟩ and ∣1⟩, respectively. These amplitudes satisfy the normalization condition [27], as shown in Equation (21), where ∣α∣2 corresponds to the probability of the quantum state being ∣0⟩, and ∣β∣2 corresponds to the probability of the quantum state being ∣1⟩.
α 2 + β 2 = 1
By superimposing multiple quantum bits, a larger state space can be generated. For example, the state of two quantum bits is shown in Equation (22). The Hadamard gate is then applied to the quantum bits [28] to transform them into a superposition state, as shown in Equation (23).
φ = α 00 00 + α 01 | 01 + α 10 | 10 + α 11 | 11
H 0 = 1 2 ( | 0 + | 1 ) H 1 = 1 2 ( | 0 | 1 )
(4)
Objective function calculation: The HHO algorithm is typically a single-objective optimization algorithm, while the problem addressed in this study is a complex, multi-objective optimization problem, necessitating an extension of the HHO algorithm. However, multi-objective functions often conflict with one another, requiring the identification of a set of good solutions within the solution space. Therefore, a non-dominated sorting approach combined with a crowding distance mechanism to maintain diversity is employed. First, non-dominated solutions are calculated, followed by non-dominated sorting, and the non-dominated ranking of all solutions is computed. The crowding distance mechanism is then used to maintain diversity between solutions, ensuring that the diversity of solutions is effectively preserved during the optimization process. The crowding distance is defined as:
D i , j = f j ( i + 1 ) f j ( i 1 ) f j m a x f j m i n D i = j = 1 n   D ( i , j )
In Equation (24), D(i,j) represents the distance of individual i in objective j; fjmax and fjmin are the maximum and minimum values of objective j; fj(i + 1) and fj(i − 1) are the neighboring values of individual i in objective j. D(i) represents the crowding distance of individual i, which is the sum of the distances in all objectives. The crowding distance for boundary points in each front is set to infinity.
(5)
Fitness calculation: The fitness value of each Harris hawk individual is calculated, the best fitness value is recorded, and the position of the Harris hawk with the optimal fitness is set as the prey position.
(6)
Exploration phase with fused slime mold algorithm (SMA): To address the issue where HHO can easily get trapped in local optima when solving complex problems, the multiple search mechanism of the SMA is incorporated into the exploration phase of HHO to enhance its global search ability [29]. First, the exploration phase of HHO conducts a broad search for high-quality solutions in the solution space, as shown in Equation (25). Then, a local search is performed on the high-quality solutions using SMA’s approach strategies, including the proximity strategy (Equation (27)), encircling strategy (Equation (30)), and acquiring strategy. Specifically, the multiple search mechanism of SMA adjusts different search patterns based on fitness values, while also separating a portion of the organic matter to explore other domains. The oscillation effect between vb (simulating the interaction process of individual slime mold information) and vc (simulating the slime mold’s retention of its own information) causes the search direction of the slime mold to become more divergent, thus increasing the possibility of global exploration. The multiple exploration mechanism endows the algorithm with strong global optimization capabilities. Additionally, when rand < z (where z represents the probability that the slime mold separates individual agents to search for other food sources), a portion of the slime mold population is randomly generated in the solution space, simulating the behavior of slime mold individuals separating and exploring other potential food sources.
X ( t + 1 ) = ( X p r e y t X m t ) r a n d 3 ( l b + r a n d 4 ( u b l b ) ) , q < 0.5 X r a n d t r a n d 1 U r a n d t 2 r a n d 2 X t , q 0.5
X m t = 1 N i = 1 N   X i t
Equation (25) represents the exploration phase of the HHO algorithm, where X(t + 1) denotes the position vector of the hawk in the next iteration t + 1, and t is the current iteration number. Xprey(t) represents the prey’s position, while Xm denotes the average position of the Harris hawk population at the current iteration, as shown in Equation (26). Xi(t) represents the position of each hawk i at iteration t, and N denotes the total number of hawks. X(t) is the current position vector of the hawk, and Xrand(t) represents a randomly selected individual from the population at generation t. The terms rand1, rand2, rand3, rand4 and q are random numbers in the range (0,1), and lb and ub denote the lower and upper bounds.
X ( t + 1 ) = X b ( t ) + v b W ( X A ( t ) X B ( t ) ) , r 1 < p v c X ( t ) , r 1 p
Equation (27) describes the approaching strategy, which simulates the slime mold’s behavior of searching for food sources based on air concentration. In this case, Xb(t) represents the position of the individual with the highest concentration (i.e., the highest fitness); vb and vc are oscillation parameters, where vb is a random number in the range [−a, a], with a = arctanh(1 − t/Max_t), and Max_t is the maximum iteration number. vc is a parameter that linearly decreases from 1 to 0 over time. W is the weight factor of the slime mold, corresponding to its mass, as shown in Equation (28). XA(t) and XB(t) are two randomly selected individuals in the slime mold population, and r1 is a random number in the range [0, 1]. P is a condition parameter that controls the update of the slime mold position, calculated as shown in Equation (29), where S(t) denotes the fitness value of the individual, and DF represents the best fitness value found across all iterations.
W S i n d e x i = 1 + r 2 l o g b F S ( i ) b F w F + 1 , c o n d i t i o n 1 r 2 l o g b F S ( i ) b F w F + 1 , o t h e r s
Sindex represents the ascending order of population fitness values; r2 is used to simulate the uncertainty of venous contraction and is a random number in the range of [0, 1]. Condition refers to the slime mold individuals with the top half of the fitness ranking in S(t). bF and wF denote the best and worst fitness values during the current iteration, respectively. Log is used to dampen the rate of change in values to make the contraction frequency change more gradual.
p = t a n h | S ( t ) D F |
X ( t + 1 ) = r a n d 5 ( u b l b ) + l b , r a n d < z X b ( t ) + v b [ W ( X A ( t ) X B ( t ) ) ] , r 1 < p v c X ( t ) , r 1 p
Equation (30) describes the encircling strategy that simulates the venous structure of the slime mold during the search process. Here, z is set to 0.03, and rand5 is a random value in the range of [0, 1].
The final attraction strategy simulates how the food source attracts the slime mold, causing oscillations that alter the cytoplasmic flow within the venous network. As a result, the slime mold moves closer to the food source. The value of vb oscillates within the range of [−a, a], while vc oscillates within [−1, 1]. Both values gradually decrease to 0 as the iteration progresses.
(7)
Exploration and exploitation transition phase: A nonlinear prey escape energy update strategy is adopted. The key parameter that controls the exploration and exploitation phases (the global to local search transition) of the HHO algorithm is the prey escape energy El, as shown in Equation (31). If ∣El∣ ≥ 1, the algorithm enters the global search phase, i.e., the exploration phase. If ∣El∣ < 1, the algorithm enters the local search phase, i.e., the exploitation phase. The energy factor E is updated in a linear fashion from 2 to 0. Figure 9 illustrates the change in E over 1000 iterations. This linear decrease causes the algorithm to get trapped in local search during the later stages of iteration. To address this, a nonlinear energy factor update strategy, based on the experience in [30], is adopted, as shown in Equation (32). This strategy allows the algorithm to maintain the possibility of global search while performing local search in the later iterations. The parameter δ is set to 3.5. Figure 10 shows the variation in El over 1000 iterations. The improved El changes slowly in the early stages of the algorithm, enhancing the global search performance of HHO, while in the later stages, the reduction rate of El accelerates, improving the local search performance and search efficiency of the algorithm.
E l = E × E 0
E = 2 × ( 1 ( t / Max_t ) δ )
E 0 = 2     r a n d 6 1
In Equation (33), E0 represents the initial energy of the prey, and rand6 is a random number in the range of [0, 1).
(8)
Development strategy: After locating the prey, the Harris hawk initiates an attack during the development phase by encircling the prey, waiting for an opportunity to strike. However, the actual hunting process is complex. For instance, a prey surrounded by the hawk may escape the encirclement, prompting the hawk to adjust its actions based on the prey’s behavior. Consequently, the HHO algorithm employs four strategies to mimic the hunting behavior of the Harris hawk. These strategies are soft encirclement, hard encirclement, progressive rapid dive with soft encirclement, and progressive rapid dive with hard encirclement.
Let r3 denote the escape probability of the prey, which is a random number between 0 and 1. When r3 ≥ 0.5, it indicates that the prey has not successfully escaped, and vice versa. The hunting strategy is determined by combining the escape energy ∣E∣ and the escape probability r3.
  • Soft encirclement when 0.5 ≤ ∣E∣ < 1 and r3 ≥ 0.5
When the prey still possesses escape energy and attempts to escape by random jumps from the encirclement, the hawk adopts soft encirclement to exhaust the prey, enabling the hawk to ambush it. The position update formula is as follows:
X t + 1 = Δ X t E J X p r e y t X t
Δ X t = X p r e y t X t
In Equation (34), ΔX(t) represents the difference between the prey’s position and the hawk’s position at iteration t, as described in Equation (35). J = 2(1 − r4) represents the intensity of the random jumps made by the prey during its escape, where r4 is a random number between 0 and 1. The value of J changes randomly in each iteration, simulating the inherent movement of the prey.
b.
Hard encirclement when ∣E∣ < 0.5 and r3 ≥ 0.5
The prey has no energy to escape and no opportunity to flee. The Harris hawk uses a hard boundary to capture the prey for a final assault. Its updated formula is given by Equation (36).
X t + 1 = X p r e y t E Δ X t
c.
Progressive rapid dive with soft encirclement when 0.5 ≤ ∣E∣ < 1 and r3 < 0.5
When the prey has the potential to escape from the encirclement and possesses sufficient energy to avoid capture, the hawk adopts a progressive rapid dive with soft encirclement. The hawk adjusts its position gradually based on the deceptive behavior of the prey (e.g., Lévy flights) to capture it effectively. This is implemented in two strategies, with the second strategy used if the first one fails:
U t + 1 = Y = X p r e y t E J X p r e y t X t   i f F Y < F X ( t ) Z = Y + S × L e ν y D i f F Z < F X ( t )
In Equation (37), F() is the fitness function, D is the problem’s dimensionality, and S is a random vector between 0 and 1. The term Le′νy represents the Lévy flight strategy, given by:
L e ν y x = 0.01 × u × σ v 1 β , σ = Γ ( 1 + β ) × s i n π β 2 Γ 1 + β 2 × β × 2 β 1 2 1 β
In Equation (38), u and v are random numbers between 0 and 1, and β is set to 1.5.
d.
Progressive rapid dive with hard encirclement when ∣E∣ < 0.5 and r3 < 0.5
The prey is exhausted but still has a chance to escape. The Harris hawks use a progressive rapid dive to harden the encirclement of the prey. This strategy’s position update formula for the hawk is similar to the one used in the progressive rapid dive for soft encirclement. In this case, the Harris hawk group attempts to reduce the average distance between their positions and the target prey. The update formula is given in Equation (39), and the formula for Xm(t) is provided in Equation (26).
X t + 1 = Y = X p r e y t E J X p r e y t X m t   i f F Y < F X ( t ) Z = Y + S × L e ν y D i f F Z < F X ( t )
(9)
Average difference mutation strategy: Due to the convergence of Harris hawks in the population towards the optimal individual during the iterative process, if there are local optima, Harris hawks tend to cluster around them as the number of iterations increases, which can lead to a reduction in population diversity. To avoid the algorithm getting trapped in local optima and prevent premature convergence, an average difference mutation [31] is introduced to adjust the individual and global best solutions.
First, define the vector population in a D-dimensional search space as xi = [xi,1, xi,2, …, xi,D], where i = 1, 2, …, Popsize, with Popsize representing the population size. Two random vectors, xr1 and xr2, are selected, and new vectors are generated using their average, as shown in Equation (40):
x c 1 = x r 1 + x r 2 2 x c 2 = x r 1 + x b e s t 2
where xbest represents the current best solution.
Next, two strategies are employed depending on the iteration stage. The rules are as follows: during the first two-thirds of the iterations, if FES ≤ 0.6 × MAX_FES or randpm, the first mutation is executed. For the remaining iterations, the second mutation is applied with a certain probability to enhance the search. A mutation vector vi is obtained in each iteration, as described in Equation (41):
v i = x c 1 + F x c 1 x i + F x c 2 x i x b e s t + F x c 1 x i + F x c 2 x i  
where FES represents the number of function evaluations, and MAX_FES denotes the maximum number of function evaluations. pm is an internal mutation switch parameter that controls exploration and exploitation during the later iterations, with a value of 0.6. F is a scaling factor, with the mutation range for the first variation being [0.2, 0.25], and for the second mutation, rand(−,+) × 0.5, where rand(−,+) represents a random number between −1 and 1, aiding in balanced movement.
This mutation strategy helps the algorithm to search locally during the early stages and shift towards global exploration near the best solution in the later stages, which assists in escaping local optima.
(10)
Updating objective function and fitness values. After updating the objective function and fitness values, the individual with the maximum fitness is identified, and the fitness value is returned.
(11)
Iterative evolution. The algorithm checks whether it has reached the specified number of iterations. If so, the algorithm terminates, and the optimal result is decoded. Otherwise, the algorithm continues iterating. The pseudocode for the IHHO algorithm is shown in Algorithm 1.
Algorithm 1. IHHO algorithm pseudocode
Input: The population size Popsize and maximum number of iterations Max_t
Output: Prey location and fitness values
Initialize the population using Equations (18) and (20)–(23) for the Canonical point set and quantum computation.
While termination criteria have not been satisfied do
 Calculate the fitness values of hawks
 Set Xprey as the location of prey (best location)
For   ( each   hawk   ( X i ))) do
  Update the initial energy E0 and jump strength J
  Update the E using Equation (32)
  if (∣E ≥ 1∣) then     ->Exploratory phase of the fusion mucilage algorithm
   Update the location vector using Equations (25), (27) and (30).
  if (∣E∣ < 1) then            ->Exploitation phase
   if (0.5 ≤ ∣E∣ < 1 and r3 ≥ 0.5) then     ->Soft besiege
    Update the location vector using Equation (34)
   else if (∣E∣ < 0.5 and r3 ≥ 0.5) then     ->Hard besiege
    Update the location vector using Equation (36)
   else if (0.5 ≤ ∣E∣ < 1 and r3 < 0.5) then
   ->Soft besiege with progressive rapid dives
    Update the location vector using Equation (37)
   else if (∣E∣ < 0.5 and r3 < 0.5) then
   ->Hard besiege with progressive rapid dives
    Update the location vector using Equation (39)
 Equation (41) was used for the mean difference variance strategy.
Return Xprey

6. Example Studies

6.1. Experimental Data

To validate the subsequent analysis, the experiments were conducted using the MATLAB 2022b platform, which ran on a computer equipped with an Intel i5-8250U CPU (1.60 GHz) and 8 GB of RAM, with the operating system being Windows 10. For the algorithmic part, the parameter settings for the IHHO algorithm are provided in Table 2. The experimental parameters are listed in Table 3. The basic information of the corn harvester and grain transport vehicles is shown in Table 4, which includes model, capacity, power, and maximum number of units, among other details. It is assumed that the purchase cost of agricultural machinery is not considered in this experiment. The field information is presented in Table 5, which includes the field area, harvestable quantity, and time window. The agricultural machinery depot is denoted by the letter “A” and is located at latitude 31°33′25.15″ N and longitude 104°33′40.51″ E.

6.2. Experimental Results

The IHHO algorithm was applied to conduct the solving experiments. The working paths of corn harvesters 1, 2, and 3 in the field are shown in Figure 11, Figure 12, and Figure 13, respectively. The scheduling paths of grain transporters 1, 2, and 3 in the field are illustrated in Figure 14, Figure 15 and Figure 16. The Gantt chart for the coordination between the corn harvesters and grain transporters is shown in Figure 17. The agricultural machinery depot is represented by black dots labeled with the letter “A”, and the black circular dots indicate the key nodes closest to the actual unloading points. The shortest paths for each piece of agricultural machinery may overlap, as Dijkstra’s algorithm could generate identical routes for different machines. Different colors are used to represent each transfer route.
To verify the superiority and applicability of the IHHO algorithm, comparative experiments were conducted with the traditional HHO algorithm and the HHO algorithm presented in the literature [32]. The Gantt charts for the HHO algorithm and the one from the literature [32] are shown in Figure 18 and Figure 19, respectively. The route plan comparison is presented in Table 6. In the figures, the letter “H” represents a harvester, and the letter “G” represents a grain transporter. The numerical suffix indicates the machine number. The values in parentheses for the harvesters, V1200 and V1700, denote the harvester’s capacity of 1.2 cubic meters and 1.7 cubic meters, respectively.
To analyze the performance of the improved algorithm in terms of cost, time, and fuel consumption, experiments were conducted with 50 iterations for each of the three algorithms. The comparison of iteration curves is shown in Figure 20, where the scheduling cost comparison, scheduling time comparison, and fuel consumption comparison are shown in Figure 20a–c, respectively. The corresponding data comparisons are shown in Table 7.
As analyzed from Figure 20, compared to the traditional HHO and the HHO algorithm in the literature [32], the IHHO algorithm in this study provides better solutions in terms of scheduling cost, scheduling time, and fuel consumption reduction. Moreover, the IHHO algorithm exhibits the fastest convergence speed in solving the three objective functions. This indicates that the proposed algorithm exhibits certain advantages in solving accuracy and optimization capability. The final iteration data in Table 7 show that, compared to the HHO and the algorithm in the literature [32], the IHHO algorithm reduces scheduling costs by 3.9% and 14.5%, respectively, scheduling time by 6.4% and 8.1%, and fuel consumption by 4.2% and 2.9%, with the lowest solution time. Therefore, the IHHO algorithm proposed in this study is capable of solving the path planning and coordination scheduling problem for harvest and transportation in hilly areas, achieving satisfactory solution quality. However, a single experiment cannot effectively prove the algorithm’s stability and robustness. Therefore, multiple experiments are necessary to verify whether the IHHO algorithm is suitable for solving multi-machine field path planning and coordinated scheduling problems in hilly regions.

7. Statistical Analysis of the IHHO Algorithm

To comprehensively evaluate the performance of the IHHO algorithm, 50 independent experiments were conducted for each of the three algorithms. The experimental results for the IHHO, HHO, and the algorithm from the literature [32] are presented separately in the Appendix A Table A1, Table A2 and Table A3.
The box plot comparisons of cost, time, and fuel consumption for 50 experimental runs are presented and analyzed separately, as shown in Figure 21, Figure 22 and Figure 23.
First, by comparing the positions of the boxes (data distribution) and the lengths (the interquartile range, i.e., the distance between Q3 and Q1) of the three objective functions’ boxplots [33], it is observed that the IHHO algorithm exhibits less data fluctuation and is more concentrated compared to the HHO algorithm and the algorithm from the literature [32]. This phenomenon indicates that the IHHO algorithm demonstrates better robustness. Next, by examining the minimum value (Min), maximum value (Max), and the median (Median), it becomes evident that the IHHO algorithm presents significantly better data. Furthermore, the Kruskal–Wallis ANOVA test was conducted, and the corresponding p-values [34] were found to be less than 0.05, indicating a significant difference between the three algorithms. Finally, by comparing the interquartile range (IQR) of the three objective functions, it is observed that the IHHO algorithm has fewer outliers in terms of optimal cost, time, and fuel consumption [35].
Through calculations, it was found that the IHHO algorithm reduced the average scheduling cost by 4.2% compared to the HHO algorithm and by 14.5% compared to the algorithm in the literature [32]. In terms of average scheduling time, the reductions were 4.5% compared to the HHO and 8.1% compared to the algorithm in the literature [32]. Regarding average fuel consumption, the IHHO algorithm reduced the consumption by 3.5% and 3.2%, respectively. Overall, it can be concluded that the IHHO algorithm proposed in this study outperforms the HHO algorithm and the algorithm from the literature [32], demonstrating superior performance and stability.

8. Conclusions

This paper investigates field path-planning methods for harvesters and grain transporters with varying capacities, suitable for hilly regions. First, considering the irregular and dense three-dimensional environmental characteristics of the fields in such regions, and addressing the issue of excessive traversal path lengths during corn harvesting, an environmental model for full coverage of multiple fields by corn harvesters and a field road network are established. The Dijkstra algorithm is then employed to solve the shortest path between fields. Subsequently, to tackle the issue of low efficiency in field collection and transportation, high fuel consumption, and high scheduling costs in multiple fields, a multi-objective collaborative scheduling model is formulated. An Improved Harris Hawk Optimization (IHHO) algorithm is designed to solve this model. Finally, compared with the traditional HHO and the path-planning solutions obtained by the HHO algorithm in the literature, the proposed method yields more optimal paths and effectively reduces fuel consumption, costs, and improves efficiency. The main conclusions of this study are as follows:
(1) To address the issue of excessive traversal paths for corn harvesting in the complex environment of hilly regions, a field road network for transfers is designed. Based on the Dijkstra algorithm, the node distances between any two fields are obtained, and this distance matrix is then input into the IHHO algorithm for optimization, ultimately resulting in the optimized harvesting sequence and grain transport routes.
(2) A multi-objective cooperative scheduling model is developed and solved using an improved IHHO algorithm. The algorithm improves the initial population distribution quality by introducing a candidate set and quantum computing initialization. The slime mold algorithm is incorporated during the exploration phase to enhance the global search ability. A non-linear energy factor (E) update method is applied to improve local search performance. Additionally, an average difference mutation strategy is introduced to help the algorithm escape local optima. Non-dominated sorting and crowding distance calculations are also integrated to optimize the solution set, enhancing both solution quality and diversity.
(3) Experimental results and statistical analysis show that the IHHO algorithm reduces the average scheduling cost by 4.2% compared to HHO and 14.5% compared to the method in the literature [32]. The average scheduling time is reduced by 4.5% and 8.1%, and average fuel consumption is decreased by 3.5% and 3.2%, respectively. These findings demonstrate the improved optimization capability and performance of the modified HHO algorithm. The enhanced HHO algorithm presented in this paper effectively addresses the requirements for collection and transportation operations in hilly and mountainous regions, thereby offering valuable support for the rational planning of the entire collaborative scheduling process.
(4) Outlook: The proposed IHHO algorithm, while tailored for hilly regions, holds great potential for adaptation to other terrains. By adjusting the environmental model and optimizing the road network design, the algorithm can be extended to flat, mountainous, or even other types of irregular terrains. Further research could explore the algorithm’s applicability in various agricultural scenarios, including urban farming or large-scale industrial operations, to evaluate its versatility and scalability across different settings.

Author Contributions

Conceptualization, H.L.; methodology, H.L.; software, J.L.; validation, J.L. and H.Y.; formal analysis, H.L. and J.L.; investigation, J.L.; resources, H.L. and S.W.; data curation, L.Z.; writing—original draft preparation, J.L.; writing—review and editing, H.L., J.L., H.Y. and J.L.; supervision, H.L., J.L., H.Y. and S.W.; project administration, H.L., L.Z., X.L. and S.W.; funding acquisition, H.Y., L.Z., J.L. and X.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Research on autonomous precision operation and path planning of unmanned agricultural machinery (no. Z222057) and Research on Agricultural Machinery Dispatching Methods and System Design under Complex Land Conditions in Hilly and Mountainous Areas (no. XDNY2023-001) and Remote control electric potato planter development (no. 232206-1).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The datasets generated during and analyzed during the current study are available from the corresponding author on reasonable request.

Acknowledgments

I would like to express my sincere gratitude to Yi Xi from Sichuan Normal University for her invaluable support and encouragement throughout the writing of my SCI thesis. Her companionship and concern alleviated my feelings of loneliness during challenging times, and provided me with the confidence and determination to overcome obstacles. Thank you, Yi Xi, for your unwavering support.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. Results of 50 experiments with the IHHO algorithm.
Table A1. Results of 50 experiments with the IHHO algorithm.
No.Scheduling
Costs
(CNY)
Scheduling
Time
(min)
Fuel
Consumption (L)
No.Scheduling
Costs
(CNY)
Scheduling
Time
(min)
Fuel
Consumption
(L)
14819147208.8264827150207.8
24851146209.5274848149209.2
34855147208.4284782145208.9
44819144207.9294796144208.3
54801146209.3304806144207.3
64828150209.6314859147209.5
74794149209.3324831144209.1
84838150209334800149209.3
94805146208.8344815149209.6
104852144209354806144207.3
114824148208.3364828150208.7
124800148208.3374792147209.5
134792148208.7384785148207.7
144841149209.1394803149207.8
154855146208.2404855150208.2
164847146208.1414781148207.9
174839150207.3424818150207.8
184846144208.4434827150208.2
194830147207.8444841150208.1
204828145208.4454859148208.2
214859149208.3464794148207.9
224864150208.2474787146209.2
234796144207.6484815145209.5
244837145208.6494842149207.9
254804149208.8504842148207.8
Table A2. Results of 50 experiments with the HHO algorithm.
Table A2. Results of 50 experiments with the HHO algorithm.
No.Scheduling
Costs
(CNY)
Scheduling
Time
(min)
Fuel
Consumption (L)
No.Scheduling
Costs
(CNY)
Scheduling
Time
(min)
Fuel
Consumption
(L)
15012157217.9265026155215.6
24991156215.6274994157214.2
34966155218.4284996149215.8
45060149214.4295071158215.9
54983159214.7304993149215
64963155218.1314962159215.3
75113149218325043154215.4
84987152215335053149217.1
95012152217.7345021151218.8
105067149215.6355113153217.7
114996158217.5365082150214.7
125044158216.4375007156218.3
135120158218.8385073155217.5
145120159214.1394964156218.4
154963155218.6405049150215.6
165121158219.2415096160216.2
175099149218.3425090156215.1
185028154215.3435093158215.1
195114152214.2445006160218.5
204961154216.5455064158217.8
215034159217.2465110149214.5
225001153214.6475097160216.1
235041149214.1485072158215.6
244978156214.7495036151215
255062160219.1504961154218.6
Table A3. Results of 50 experiments with the algorithm from the literature [32].
Table A3. Results of 50 experiments with the algorithm from the literature [32].
No.Scheduling
Costs
(CNY)
Scheduling
Time
(min)
Fuel
Consumption (L)
No.Scheduling
Costs
(CNY)
Scheduling
Time
(min)
Fuel
Consumption
(L)
15633160215.1265606160216.2
25541162216.7275702157217.3
35738159217.1285631158216.2
45619162214.7295706161214
55674162215305643160214.9
65699159214.5315676160214.4
75663161217.1325589161216
85642161215.1335711157216.8
95614158217.4345739157215.5
105743162216.5355737161215.9
115603162216.7365755163214.7
125608157216.7375754158216.3
135678157217.2385743161215.8
145619161214.8395541162214.8
155674159213.8405675160216.5
165608164214.9415710162214.3
175547163214.4425715163214.7
185667160216.7435634162215.9
195672157214.7445633162214.5
205623161213.9455675159217.3
215650164214.1465639157215
225578157215.2475560164215
235717157214.4485559161217.4
245713163216.9495587157214.5
255632164215.2505577158217.2

References

  1. Cao, R.; Guo, Y.; Zhang, Z.; Li, S.; Zhang, M.; Li, H.; Li, M. Global path conflict detection algorithm of multiple agricultural machinery cooperation based on topographic map and time window. Comput. Electron. Agric. 2023, 208, 107773. [Google Scholar] [CrossRef]
  2. Chen, M.; Xu, G.; Wei, Y.; Zhang, Y.; Diao, P.; Pang, H. Design and experiment analysis of the small maize harvester with attitude adjustment in the hilly and mountainous areas of China. Int. J. Agric. Biol. Eng. 2024, 17, 118–127. [Google Scholar] [CrossRef]
  3. Liu, H.; Zhang, L.; Zhao, B.; Tang, J.; Luo, J.; Wang, S. Research on Emergency Scheduling Based on Improved Genetic Algorithm in Harvester Failure Scenarios. Front. Plant Sci. 2024, 15, 1413595. [Google Scholar] [CrossRef] [PubMed]
  4. Liu, L.; Wang, X.; Liu, H.; Li, J.; Wang, P.; Yang, X. A Full-Coverage Path Planning Method for an Orchard Mower Based on the Dung Beetle Optimization Algorithm. Agriculture 2024, 14, 865. [Google Scholar] [CrossRef]
  5. Galarza-Falfan, J.; García-Guerrero, E.E.; Aguirre-Castro, O.A.; López-Bonilla, O.R.; Tamayo-Pérez, U.J.; Cárdenas-Valdez, J.R.; Hernández-Mejía, C.; Borrego-Dominguez, S.; Inzunza-Gonzalez, E. Path Planning for Autonomous Mobile Robot Using Intelligent Algorithms. Technologies 2024, 12, 82. [Google Scholar] [CrossRef]
  6. Gao, Y.; Han, Q.; Feng, S.; Wang, Z.; Meng, T.; Yang, J. Improvement and Fusion of D*Lite Algorithm and Dynamic Window Approach for Path Planning in Complex Environments. Machines 2024, 12, 525. [Google Scholar] [CrossRef]
  7. Shi, Y.; Huang, S.; Li, M. An Improved Global and Local Fusion Path-Planning Algorithm for Mobile Robots. Sensors 2024, 24, 7950. [Google Scholar] [CrossRef]
  8. Edwards, G.T.; Hinge, J.; Skou-Nielsen, N.; Villa-Henriksen, A.; Sørensen, C.A.; Green, O. Route planning evaluation of a prototype optimised infield route planner for neutral material flow agricultural operations. Biosyst. Eng. 2017, 153, 149–157. [Google Scholar] [CrossRef]
  9. Seyyedhasani, H.; Dvorak, J.S. Reducing field work time using fleet routing optimization. Biosyst. Eng. 2018, 169, 1–10. [Google Scholar] [CrossRef]
  10. Seyyedhasani, H.; Dvorak, J.S. Dynamic rerouting of a fleet of vehicles in agricultural operations through a Dynamic Multiple Depot Vehicle Routing Problem representation. Biosyst. Eng. 2018, 171, 63–77. [Google Scholar] [CrossRef]
  11. He, P.; Li, J. A joint optimization framework for wheat harvesting and transportation considering fragmental farmlands. Inf. Process. Agric. 2021, 8, 1–14. [Google Scholar] [CrossRef]
  12. Pan, W.; Wang, J.; Yang, W. A Cooperative Scheduling Based on Deep Reinforcement Learning for Multi-Agricultural Machines in Emergencies. Agriculture 2024, 14, 772. [Google Scholar] [CrossRef]
  13. Li, S.; Zhang, M.; Wang, N.; Cao, R.; Zhang, Z.; Ji, Y.; Li, H.; Wang, H. Intelligent scheduling method for multi-machine cooperative operation based on NSGA-III and improved ant colony algorithm. Comput. Electron. Agric. 2023, 204, 107532. [Google Scholar] [CrossRef]
  14. Chen, T.; Ahn, H.S.; Sun, W.; Pan, J.; Liu, Y.; Cheng, J.; Xu, L. Optimizing path planning for a single tracked combine harvester: A comprehensive approach to harvesting and unloading processes. Comput. Electron. Agric. 2024, 224, 109217. [Google Scholar] [CrossRef]
  15. Guo, Y.; Zhang, F.; Chang, S.; Li, Z.; Li, Z. Research on a multiobjective cooperative operation scheduling method for agricultural machinery across regions with time windows. Comput. Electron. Agric. 2024, 224, 109121. [Google Scholar] [CrossRef]
  16. Ptacek, M.; Frick, F.; Pahl, H.; Stetter, C.; Wimmer, S.; Sauer, J. ‘ShapeCostTUM’: A calculation tool for field geometry dependent cultivation and transport costs. Comput. Electron. Agric. 2024, 225, 109254. [Google Scholar] [CrossRef]
  17. Hameed, I.A. Intelligent coverage path planning for agricultural robots and autonomous machines on three-dimensional terrain. J. Intell. Robot. Syst. 2014, 74, 965–983. [Google Scholar] [CrossRef]
  18. Jaramillo-Martínez, R.; Chavero-Navarrete, E.; Ibarra-Pérez, T. Reinforcement-Learning-Based Path Planning: A Reward Function Strategy. Appl. Sci. 2024, 14, 7654. [Google Scholar] [CrossRef]
  19. Jia, J.; Tang, L. Optimal coverage path planning for arable farming on 2D surfaces. Trans. ASABE 2010, 53, 283–295. [Google Scholar]
  20. Shen, M.; Wang, S.; Wang, S.; Su, Y. Simulation study on coverage path planning of autonomous tasks in hilly farmland based on energy consumption model. Math. Probl. Eng. 2020, 2020, 4535734. [Google Scholar] [CrossRef]
  21. Nilsson, R.S.; Zhou, K. Method and benchmarking framework for coverage path planning in arable farming. Biosyst. Eng. 2020, 198, 248–265. [Google Scholar] [CrossRef]
  22. Gao, Y.; Ma, M.; Zhang, J.; Zhang, S.; Fang, J.; Gao, X.; Chen, G. Algorithms for Shortest Path Tour Problem in Large-Scale Road Network. In International Computing and Combinatorics Conference; Springer Nature: Cham, Switzerland, 2023. [Google Scholar] [CrossRef]
  23. Heidari, A.A.; Mirjalili, S.; Faris, H.; Aljarah, I.; Mafarja, M.; Chen, H. Harris hawks optimization: Algorithm and applications. Future Gener. Comput. Syst. 2019, 97, 849–872. [Google Scholar] [CrossRef]
  24. Yuan, J.; Liu, Z.; Lian, Y.; Chen, L.; An, Q.; Wang, L.; Ma, B. Global optimization of UAV area coverage path planning based on good point set and genetic algorithm. Aerospace 2022, 9, 86. [Google Scholar] [CrossRef]
  25. Devroye, L. Bounds for the uniform deviation of empirical measures. J. Multivar. Anal. 1982, 12, 72–79. [Google Scholar] [CrossRef]
  26. Kou, H.; Zhang, Y.; Lee, H.P. Dynamic optimization based on quantum computation-A comprehensive review. Comput. Struct. 2024, 292, 107255. [Google Scholar] [CrossRef]
  27. Du, Z.; Li, H. Research on Application of Improved Quantum Optimization Algorithm in Path Planning. Appl. Sci. 2024, 14, 4613. [Google Scholar] [CrossRef]
  28. Chauhan, J.; Alam, T. Adjustable rotation gate based quantum evolutionary algorithm for energy optimisation in cloud computing systems. Int. J. Comput. Sci. Eng. 2024, 27, 414–433. [Google Scholar] [CrossRef]
  29. Zhong, R.; Zhang, E.; Munetomo, M. Evolutionary multi-mode slime mold optimization: A hyper-heuristic algorithm inspired by slime mold foraging behaviors. J. Supercomput. 2024, 80, 12186–12217. [Google Scholar] [CrossRef]
  30. Uddin, M.P.; Majumder, A.; Barma, J.D.; Mirjalili, S. An Improved Multi-Objective Harris Hawks Optimization Algorithm for Solving EDM Problems. Arab. J. Sci. Eng. 2024, 1, 1–46. [Google Scholar] [CrossRef]
  31. Layeb, A. Differential evolution algorithms with novel mutations, adaptive parameters, and Weibull flight operator. Soft Comput. 2024, 28, 7039–7091. [Google Scholar] [CrossRef]
  32. Li, C.; Si, Q.; Zhao, J.; Qin, P. A robot path planning method using improved Harris Hawks optimization algorithm. Meas. Control 2024, 57, 469–482. [Google Scholar] [CrossRef]
  33. Yandrapalli, V. AI-Powered Data Governance: A Cutting-Edge Method for Ensuring Data Quality for Machine Learning Applications. In Proceedings of the 2024 Second International Conference on Emerging Trends in Information Technology and Engineering (ICETITE), Vellore, India, 22–23 February 2024. [Google Scholar] [CrossRef]
  34. McKight, P.E.; Najab, J. Kruskal-Wallis test. In The Corsini Encyclopedia of Psychology; John Wiley & Sons: Hoboken, NJ, USA, 2010; p. 1. [Google Scholar] [CrossRef]
  35. Mazarei, A.; Sousa, R.; Mendes-Moreira, J.; Molchanov, S. Online boxplot derived outlier detection. Int. J. Data Sci. Anal. 2024, 1, 1–15. [Google Scholar] [CrossRef]
Figure 1. Geometric method for constructing field simulation model.
Figure 1. Geometric method for constructing field simulation model.
Agriculture 15 00233 g001
Figure 2. Full coverage path planning for harvester field operations.
Figure 2. Full coverage path planning for harvester field operations.
Agriculture 15 00233 g002
Figure 3. Road network graph design.
Figure 3. Road network graph design.
Agriculture 15 00233 g003
Figure 4. Weighted undirected graph.
Figure 4. Weighted undirected graph.
Agriculture 15 00233 g004
Figure 5. Distance matrix.
Figure 5. Distance matrix.
Agriculture 15 00233 g005
Figure 6. Modification of the shortest path.
Figure 6. Modification of the shortest path.
Agriculture 15 00233 g006
Figure 7. Schematic diagram of field collaborative scheduling process.
Figure 7. Schematic diagram of field collaborative scheduling process.
Agriculture 15 00233 g007
Figure 8. Technical roadmap.
Figure 8. Technical roadmap.
Agriculture 15 00233 g008
Figure 9. E behaviour before and after improvements.
Figure 9. E behaviour before and after improvements.
Agriculture 15 00233 g009
Figure 10. Behavior of El during two runs and 1000 iterations.
Figure 10. Behavior of El during two runs and 1000 iterations.
Agriculture 15 00233 g010
Figure 11. The field operation path of corn harvester 1 is A → 1 → 11 → 6 → 17 → 18 → 19 → 12 → 16 → A.
Figure 11. The field operation path of corn harvester 1 is A → 1 → 11 → 6 → 17 → 18 → 19 → 12 → 16 → A.
Agriculture 15 00233 g011
Figure 12. The field operation path of corn harvester 2 is A → 13 → 20 → 14 → 15 → A.
Figure 12. The field operation path of corn harvester 2 is A → 13 → 20 → 14 → 15 → A.
Agriculture 15 00233 g012
Figure 13. The field operation path of corn harvester 3 is A → 3 → 2 → 7 → 8 → 4 → 9 → 5 → 10 → A.
Figure 13. The field operation path of corn harvester 3 is A → 3 → 2 → 7 → 8 → 4 → 9 → 5 → 10 → A.
Agriculture 15 00233 g013
Figure 14. The field scheduling path of grain transporter 1 is A → 3 → 11 → 8 → 20 → 19 → 12 → A.
Figure 14. The field scheduling path of grain transporter 1 is A → 3 → 11 → 8 → 20 → 19 → 12 → A.
Agriculture 15 00233 g014
Figure 15. The field scheduling path of grain transporter 2 is A → 1 → 7 → 17 → 18 → 14 → A → 10 → 16 → A.
Figure 15. The field scheduling path of grain transporter 2 is A → 1 → 7 → 17 → 18 → 14 → A → 10 → 16 → A.
Agriculture 15 00233 g015
Figure 16. The field scheduling path of grain transporter 3 is A → 2 → 13 → 6 → 4 → A → 9 → 5 → 15 → A.
Figure 16. The field scheduling path of grain transporter 3 is A → 2 → 13 → 6 → 4 → A → 9 → 5 → 15 → A.
Agriculture 15 00233 g016
Figure 17. The Gantt chart comparison between corn harvesters and grain transporters.
Figure 17. The Gantt chart comparison between corn harvesters and grain transporters.
Agriculture 15 00233 g017
Figure 18. Gantt chart of the HHO algorithm.
Figure 18. Gantt chart of the HHO algorithm.
Agriculture 15 00233 g018
Figure 19. Gantt chart from the literature [32].
Figure 19. Gantt chart from the literature [32].
Agriculture 15 00233 g019
Figure 20. (ac) Comparison of objective functions of the three algorithms. Li, C. (2024) denotes literature [32].
Figure 20. (ac) Comparison of objective functions of the three algorithms. Li, C. (2024) denotes literature [32].
Agriculture 15 00233 g020
Figure 21. Comparison of the cost box plots. Li, C(2024) denotes literature [32].
Figure 21. Comparison of the cost box plots. Li, C(2024) denotes literature [32].
Agriculture 15 00233 g021
Figure 22. Comparison of the time box plots. Li, C(2024) denotes literature [32].
Figure 22. Comparison of the time box plots. Li, C(2024) denotes literature [32].
Agriculture 15 00233 g022
Figure 23. Comparison of the fuel consumption box plots. Li, C(2024) denotes literature [32].
Figure 23. Comparison of the fuel consumption box plots. Li, C(2024) denotes literature [32].
Agriculture 15 00233 g023
Table 1. Symbols and meaning.
Table 1. Symbols and meaning.
SymbolsMeaning
EstartThe fuel consumption during cold start: This refers to the fuel consumption of the harvester and grain transport vehicle when the engine has been turned off for a period of time, and the temperature has dropped below the normal operating temperature at the time of ignition.
Estart1Total startup fuel consumption: This refers to the fuel consumption during the process in which the engine reaches a stable minimum idle speed after starting.
Estart2Total idle fuel consumption: This refers to the fuel consumption during the process from parking to starting the movement of the vehicle.
Estart(h), Estart(g),Harvester starting fuel consumption, grain transport vehicle starting fuel consumption.
Eidle(h), Eidle(g),Harvester idling fuel consumption, grain transport vehicle idling fuel consumption.
tstart(h), tstart(g),Harvester start time, grain transport vehicle start time.
tidle(h), tidle(g)Harvester idle time, grain transport vehicle idle time.
EfliedFuel consumption of harvesters during field operations.
EworkFuel consumption during harvesting in the field.
EturnFuel consumption during turning in the field.
EhfFuel consumption of harvesters h during harvesting.
lhfThe number of rows harvested by harvester h in field f.
DfDistance per row in farmland f.
EhFuel consumption of harvester h during empty runs.
qhfThe number of turns made by harvester h within a farm field f.
DhTurning distance of harvester h.
dijDistance from node i to node j.
EschedueTotal scheduling fuel consumption: fuel consumption generated by the movement of the harvester and the grain transport vehicle in the field.
Esh
Esg
Fuel consumption for scheduling of harvester h.
Fuel consumption for scheduling of grain transport vehicle g.
dhf-enDistance from the entrance of the field to the starting point of harvesting for harvester h.
dhf-exDistance from the end point of harvesting to the exit of the field for harvester h.
EallotEmpty run fuel consumption: fuel consumption generated by the harvester from the entrance of the field to the starting position of harvesting and from the end position of harvesting to the exit of the field.
CdDistance cost between the harvester h and the grain transport vehicle g.
CfFixed costs (scheduling cost costs).
CpTotal penalty cost for violating time windows.
dcUnit distance travel cost.
Ch,CgScheduling costs for harvester h and grain transport vehicle g.
PthgPenalty cost for violating time windows.
ThMaximum time Th taken to complete all tasks among all harvesters.
TgMaximum time Tg taken to complete all tasks among all grain transport vehicles.
Uh,LgUnloading time and loading time, where Uh = Lg.
Vh,VgMovement speeds of harvester h and grain transport vehicle g.
thHarvesting time of harvester h for field f.
Hv,GvCapacity of harvesters, capacity of grain transport vehicles.
qfThe amount of farmland f to be harvested.
DiPlanting density of farmland f.
UehGrain unloading efficiency of harvester h.
Cw,ClCost of waiting per unit of time, cost of penalization per unit of time.
Bi,EiTime allowed for the start of the task on the farmland f and the latest time.
thgfThe moment the harvester or grain transport vehicle arrives on the farmland f.
Xijh,XijgDecision variable: a binary variable indicating whether harvester h or grain transport vehicle g travels from node i to node j.
Table 2. Algorithm parameter settings.
Table 2. Algorithm parameter settings.
Algorithm Parameter Setting
Max_t ← 50% Number of iterations
Popsize ← 20% Population size
ub ← 10% Upper bound
lb ← −10% Lower bound
dim ← 30% Dimension
nq ← 4% Number of quantum bits
Table 3. Experimental parameter settings.
Table 3. Experimental parameter settings.
Experimental Parameter Setting
Vh ← 10% Harvester travel speed
Vg ← 10% Grain transport vehicle travel speed
Hv ← [1000, 1700]% Harvesters capacity
Gv ← 4000% Grain transport vehicle capacity
Ueh ← [50/3, 85/3]% Harvester unit unloading efficiency(m3/min)
gn ← 10% Harvest per unit area
hc ← [300, 400]% Harvester transfer, maintenance and fuel costs
gc ← 600% Transfers, maintenance and fuel costs for grain transport vehicles
dc ← 1% Cost per unit distance traveled
Cw ← 1% Cost of waiting per unit of time
Cl ← 1% Unit time penalty cost
Table 4. Basic information of agricultural machinery.
Table 4. Basic information of agricultural machinery.
NameVolume
(kg)
ModelMaximum
Usage
Wode 4LZ-8.0EZ(Q) crawler corn harvester17004LZ-8.0EZ(Q)
(China Jining Fengtuo Machinery Technology Co., Jining, China)
5
Huishou 4YZP-2D crawler two row corn harvester10004YZP-2D
(China Shenyinong (Shandong) Agricultural Equipment Co., Weifang, China)
5
Jinan jinwang JW-4t crawler grain transport vehicle4000JW-4t
(China Jining Jinwang Machinery Equipment Co., Jining, China)
5
Table 5. Basic field information.
Table 5. Basic field information.
Fields No.Area/m2Harvest to Be Harvested
/m3
Time Window
A//[0, 1000]
11073536.5[242, 580]
21450725[160, 859]
3722361[613, 771]
41963981.5[381, 651]
51724862[273, 625]
61485742.5[645, 809]
71448724[506, 950]
81182591[562, 900]
91360680[280, 920]
10915457.5[659, 740]
111190595[94, 885]
121921960.5[366, 555]
1321171058.5[288, 655]
141638819[441, 875]
1520401020[605, 925]
161194597[513, 777]
17844422[563, 790]
18818409[815, 1111]
19896448[340, 888]
201415707.5[886, 999]
Table 6. Route plan comparison.
Table 6. Route plan comparison.
Harvester RoutesGrain Transport Vehicle Routes
IHHOH1(V1200): A->1->11->6->17->18->19->12->16->A
H2(V1200): A->13->20->14->15->A
H3(V1700): A->3->2->7->8->4->9->5->10->A
G1: A->3->11->8->20->19->12->A
G2: A->1->7->17->18->14->A->10->16->A
G3: A->2->13->6->4->A->9->5->15->A
HHOH1(V1700): A->8->13->14->20->10->5->9->4->A
H2(V1700): A->7->12->11->15->A
H3(V1200): A->3->2->1->6->16->17->18->19->A
G1: A->3->12->6->17->19->A
G2: A->8->13->14->A->10->5->A
G3: A->7->1->20->15->A->4->A
G4: A->2->11->16->18->9->A
HHO algorithm in the literature [32]H1(V1700): A->1->11->6->16->13->A
H2(V1200): A->4->8->14->20->15->10->5->9->A
H3(V1200): A->3->2->7->12->19->18->17->A
G1: A->3->7->16->17->5->A
G2: A->1->8->14->15->A
G3: A->2->12->20->A->9->A
G4: A->4->6->18->10->A
G5: A->11->19->13->A
Table 7. Comparison of cost, time, and fuel consumption data.
Table 7. Comparison of cost, time, and fuel consumption data.
Scheduling Costs (CNY)Scheduling Time (min)Fuel Consumption (L)
IHHO4819147208.8
HHO5012157217.9
HHO algorithm in
the literature [32]
5633160215.1
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.

Share and Cite

MDPI and ACS Style

Liu, H.; Luo, J.; Zhang, L.; Yu, H.; Liu, X.; Wang, S. Research on Traversal Path Planning and Collaborative Scheduling for Corn Harvesting and Transportation in Hilly Areas Based on Dijkstra’s Algorithm and Improved Harris Hawk Optimization. Agriculture 2025, 15, 233. https://doi.org/10.3390/agriculture15030233

AMA Style

Liu H, Luo J, Zhang L, Yu H, Liu X, Wang S. Research on Traversal Path Planning and Collaborative Scheduling for Corn Harvesting and Transportation in Hilly Areas Based on Dijkstra’s Algorithm and Improved Harris Hawk Optimization. Agriculture. 2025; 15(3):233. https://doi.org/10.3390/agriculture15030233

Chicago/Turabian Style

Liu, Huanyu, Jiahao Luo, Lihan Zhang, Hao Yu, Xiangnan Liu, and Shuang Wang. 2025. "Research on Traversal Path Planning and Collaborative Scheduling for Corn Harvesting and Transportation in Hilly Areas Based on Dijkstra’s Algorithm and Improved Harris Hawk Optimization" Agriculture 15, no. 3: 233. https://doi.org/10.3390/agriculture15030233

APA Style

Liu, H., Luo, J., Zhang, L., Yu, H., Liu, X., & Wang, S. (2025). Research on Traversal Path Planning and Collaborative Scheduling for Corn Harvesting and Transportation in Hilly Areas Based on Dijkstra’s Algorithm and Improved Harris Hawk Optimization. Agriculture, 15(3), 233. https://doi.org/10.3390/agriculture15030233

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop