Next Article in Journal
Transcriptomic and Physiological Insights into the Role of Nano-Silicon Dioxide in Alleviating Salt Stress During Soybean Germination
Previous Article in Journal
A 7-bp Insertion/Deletion Functional Variation in Fatty Acid Synthase Gene Is Associated with Abdominal Fat Accumulation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Genetic Algorithm Integrated with Ant Colony Optimization for Multi-Task Agricultural Machinery Scheduling

1
School of Economics and Management, Zhejiang Sci-Tech University, Hangzhou 310018, China
2
School of Mechanical Engineering, Zhejiang Sci-Tech University, Hangzhou 310018, China
3
Zhejiang Key Laboratory of Intelligent Sensing and Robotics for Agriculture, Hangzhou 310018, China
4
The Collaborative Innovation Center for Intelligent Production Equipment of Characteristic Forest Fruits in Hilly and Mountainous Areas of Zhejiang Province, Hangzhou 310018, China
5
Key Laboratory of Agricultural Equipment for Hilly and Mountainous Areas in Southeastern China (Co-Construction by Ministry and Province), Ministry of Agriculture and Rural Affairs, Hangzhou 310018, China
*
Author to whom correspondence should be addressed.
Agriculture 2025, 15(22), 2319; https://doi.org/10.3390/agriculture15222319
Submission received: 30 September 2025 / Revised: 2 November 2025 / Accepted: 6 November 2025 / Published: 7 November 2025
(This article belongs to the Section Agricultural Technology)

Abstract

Efficient scheduling of agricultural machinery is critical for optimizing resource utilization and reducing operational costs in modern farming operations. This study proposes an Adaptive Genetic Algorithm integrated with Ant Colony Optimization (AGA-ACO) to solve the multi-task machinery scheduling problem. The problem is formulated as a Vehicle Routing Problem with Time Windows (VRPTW), considering time constraints, machinery heterogeneity, and task dependencies. The AGA-ACO algorithm employs a two-phase optimization strategy: genetic algorithms for global exploration and ant colony optimization for local refinement through pheromone-guided search. Experimental evaluation using real-world agricultural data from Hangzhou demonstrates that AGA-ACO achieves cost reductions of 5.92–10.87% compared to genetic algorithms, 5.47–7.75% compared to ant colony optimization, and 6.23–9.51% compared to particle swarm optimization, while converging with fewer iterations. The algorithm maintains stable convergence and high robustness across different farmland scales, reducing computational time while preserving solution quality. A scheduling management system integrating IoT sensors, MQTT protocols, and GIS technologies validates the practical applicability of the proposed approach. This research provides a replicable framework for agricultural machinery optimization, contributing to the advancement of sustainable and precision agriculture.

1. Introduction

Modern agriculture is rapidly transforming toward mechanization and intelligent management to enhance productivity, reduce labor costs, and ensure food security for a growing global population [1]. Agricultural mechanization has become particularly crucial in addressing the challenges of labor shortages, aging rural populations, and the increasing demand for agricultural products [2]. In this context, the efficient scheduling of agricultural machinery emerges as a critical factor in optimizing resource utilization and minimizing operational costs [3,4].
At the field level, agricultural operations are highly time-sensitive, requiring precise coordination of multiple machines across farmlands within strict time windows. Tasks such as plowing, seeding, fertilizing, and harvesting must be completed at optimal times to ensure crop quality and maximize yields [5]. This is particularly evident in rice cultivation, where agronomic requirements impose strict temporal constraints, and during peak farming seasons, various operational stages are tightly interconnected with compressed scheduling windows. The complexity of scheduling is further amplified by factors including machinery heterogeneity, varying field sizes, different task requirements, and geographical dispersion of farmlands [6]. Traditional experience-based manual scheduling approaches fail to address these multifaceted challenges, often resulting in resource underutilization, operational delays, and increased costs.
China, as the world’s largest agricultural producer, exemplifies these challenges at scale. The country has achieved remarkable progress in agricultural mechanization, with the comprehensive mechanization rate of crop cultivation and harvest in China reaching 71% in 2020 and expected to rise to 75% by 2025 [7]. In 2020, agricultural machinery cooperatives in China serviced 56.509 million hectares, with cross-regional operations covering 19.9 million hectares [8]. Despite this achievement, efficient machinery scheduling remains a significant bottleneck, particularly in regions with fragmented land holdings and complex cropping patterns. The development of scientific scheduling methodologies has thus become essential for advancing agricultural modernization, optimizing the substantial investment in machinery resources, and ensuring sustainable food production [4].
Agricultural machinery scheduling optimization has been extensively studied through intelligent algorithms. Existing research has established numerous models and algorithms, particularly through intelligent optimization techniques such as Particle Swarm Optimization (PSO) [9,10], Simulated Annealing (SA) [11], Tabu Search (TS) [6,12], Neighborhood Search [13,14], Ant Colony Optimization (ACO) [15,16], Genetic Algorithms (GA) [17], and hybrid optimization methods [18,19]. Particularly, adaptive genetic algorithms have demonstrated superior performance over traditional fixed-parameter GAs. Srinivas and Patnaik pioneered adaptive probabilities of crossover and mutation based on fitness values, establishing the theoretical foundation for parameter self-adaptation [20]. This seminal work has inspired diverse applications: from optical metasurface design, where AGA handles high-dimensional optimization with fabrication constraints [21], to tourism flow forecasting, where seasonal patterns are captured through adaptive parameter tuning [22], and magnetic hysteresis modeling utilizing self-adaptive mechanisms [23]. These studies collectively demonstrate that adaptive parameter control significantly enhances convergence efficiency while maintaining population diversity, eliminating the need for manual parameter tuning.
These algorithms demonstrate significant potential in agricultural scheduling. For instance, Wang et al. developed a time window-constrained machinery scheduling model using GA [24], while Guan et al. (2009) proposed a two-stage metaheuristic framework integrating SA and GA for dynamic resource allocation in sugarcane production [25]. Orfanou et al. (2013) introduced a biomass harvesting task sequencing method to optimize machine schedules and total operational costs [26]. Chen et al. (2023) designed a three-stage scheduling framework that reduces multi-field collaborative operation cycles through dynamic task prioritization and resource constraint modeling [27]. Sethanan and Neungmatcha (2020) enhanced PSO with collision avoidance mechanisms, achieving dual optimization of harvest distance and yield in sugarcane operations [3]. For dynamic environments, Cao et al. (2021) proposed a multi-machine collaborative task allocation model that reduces delays by responding to machinery failures and emergent tasks [28]. Wang and Huang (2022) further integrated CPLEX with time window constraints in a shared machinery framework, reducing cross-regional scheduling costs by 28% [29]. He et al. (2018) minimized wheat harvesting periods in fragmented fields using a hybrid TS approach under temporal consistency constraints [30].
The agricultural machinery scheduling problem fundamentally extends the classical Vehicle Routing Problem (VRP), first proposed by Dantzig and Ramser (1959) for fuel truck fleet optimization [31]. In agriculture, VRP-based models abstract farmlands as nodes to optimize route costs, providing theoretical foundations for scheduling. Zhang et al. established a time-optimal machinery scheduling model using improved GA [32], while Lin et al. (2019) developed a harvest planning model to maximize farmer profits [33]. For complex constraints, Basnet et al. integrated time windows, operational costs, and machinery-driver assignments to minimize total scheduling time [34]. Vázquez et al. (2021) integrated multi-crop rotation constraints within a multi-machine scheduling framework [35]. Chen et al. (2021) analyzed pandemic-induced scheduling costs and formulated a total cost minimization model [36].
The integration of metaheuristic algorithms has significantly advanced this field. Seyyedhasani et al. (2018) modeled scheduling as a multi-vehicle collaborative VRP and solved it using an improved tabu-search algorithm [37]. Cerdeira et al. (2017) investigated a variant of the Traveling Salesman Problem (TSP) incorporating cluster constraints, time windows, and city processing time constraints [38]. They proposed a hybrid algorithm integrating Tabu search and simulated annealing to optimize operational routes for combined harvesters in an agricultural machinery cooperative [38]. Wang et al. (2020) proposed a hybrid algorithm, MOSA-ACO, which integrates Simulated Annealing with Ant Colony Optimization to address the periodic vehicle routing problem [39]. The algorithm demonstrated strong performance in solving multi-objective optimization problems [39]. Notably, the multi-task, multi-machine scheduling problem exhibits the characteristics of a Multi-Depot VRP with Time Windows (MDVRPTW)—an NP-hard extension [40] that incorporates multiple depots, time windows, and heterogeneous fleets, thus greatly increasing complexity [41]. Most existing studies focus on single-task or fixed-sequence scheduling, leaving a gap in the context of multi-task, multi-machine operations in complex agricultural environments.
Despite these advances, significant challenges remain for the highly time-sensitive, multi-machine, multi-task coordination required in complex agricultural environments. Diverse terrain conditions, varying field characteristics, and inter-machine task conflicts render traditional models inadequate. To address these limitations, this study proposes an Adaptive Genetic Algorithm-Ant Colony Optimization (AGA-ACO) framework that synergistically combines GA’s global exploration capabilities with ACO’s local exploitation precision.
The main contributions of this research are:
  • Dual-Objective Scheduling Model: A VRP-based model incorporating time window constraints and machinery heterogeneity is established, targeting both minimal total scheduling cost and shortest operational duration. This model addresses the multi-machine, multi-task scheduling problem in modern agriculture and ensures operational efficiency.
  • Hybrid Optimization Algorithm: An adaptive crossover probability adjustment strategy and dynamic pheromone update mechanism are designed to synergize GA’s global search capabilities with ACO’s local path optimization. Comparative experiments demonstrate AGA-ACO’s superior convergence speed, solution accuracy, and resistance to local optima over standalone GA and ACO.
This study provides theoretical support and methodological innovation for intelligent agricultural machinery scheduling in agricultural regions and charts a new technological path toward unmanned, high-efficiency precision agriculture. The proposed framework enables real-time coordination of autonomous machinery fleets in farmlands, significantly reducing operational delays and resource conflicts—key steps toward scalable unmanned farming in agricultural regions.

2. Materials and Methods

2.1. Problem Description

In modern agricultural operations, the efficient scheduling of agricultural machinery is crucial for optimizing operational costs and ensuring the timely completion of field tasks. This study addresses a multi-task, multi-machine scheduling problem in which agricultural machinery from a central depot must be allocated to execute various operational tasks across multiple farmlands.
The scheduling problem involves multiple farmlands, each requiring specific agricultural operations to be performed within designated time windows. Each farmland may require multiple types of agricultural operations, such as plowing, seeding, fertilizing, and harvesting, which must be executed by appropriate machinery types. The agricultural machinery depot maintains various types of machines, each designed to perform specific operational tasks. The scheduling system must dispatch appropriate machinery from the depot to designated farmlands for task execution, ensuring that each required operation is completed efficiently while minimizing overall operational costs.
Let the set of farmlands be defined as F = { F 1 , F 2 , , F m } , where F i represents the i -th farmland. The attributes of F i are described as L o c F i , S i , T i , where L o c F i represents the entrance location of farmland F i , S i denotes the area of farmland F i and T i represents the task list required for farmland F i .
Similarly, let the set of agricultural machines be denoted as M = M 1 , M 2 , , M n , where M j represents the j-th machine. The attributes of M j are characterized by M j = L o c M j ,   transV j , w o r k V j , T y p e j , where L o c M j indicates the current location of machinery M j ,   transV j represents the average travel speed during inter-farmland transitions, w o r k V j denotes the operational efficiency, and T y p e j indicates the task type that machine M j is designed to perform.
The primary objective is to develop an optimal scheduling strategy that minimizes the total operational cost while ensuring efficient task completion. The total cost encompasses machinery transfer costs, labor costs, operational costs, waiting costs, and penalty costs associated with time window violations.

2.2. Model Building

2.2.1. Model Assumptions

Based on the characteristics of the multi-task, multi-machine scheduling problem, the hypothetical preconditions for this scheduling problem are first declared:
  • All farmland parameters (area, location, required tasks, time windows) and machinery specifications (type, quantity, efficiency, speed) are known and constant.
  • Each machine can only execute tasks matching its type and operates on one task at a time, with total deployment not exceeding available inventory.
  • For computational tractability, farmland geometries are approximated as regular polygons to enable efficient area calculation and distance estimation in the scheduling model.
4.
Tasks within each farmland must be executed sequentially according to the order specified in the task list T i . For example, if T i =   [ 1,2], task type 1 must be completed before task type 2 can begin.
5.
Dynamic environmental factors (e.g., weather variations, soil moisture fluctuations) are excluded from operational efficiency calculations.
6.
A soft time window constraint is implemented for each farmland, where all required tasks must be completed within the specified time window. Deviations incur quantified penalty costs.

2.2.2. Objective Function

The multi-task, multi-agricultural machinery scheduling model aims to minimize the total cost, which includes machinery transfer cost, labor cost, operational cost, waiting cost, and penalty cost. The cost objective functions are defined as follows:
1. Agricultural Machinery Transfer Cost:
C t r a n s = i = 0 m + 1   p = 0 m + 1   j = 1 n   C t j · t r a n s T i p j · y i p j
2. Agricultural Machinery Labor Cost:
C l a b o r = i = 1 m j = 1 n   t T i C g j · w o r k T i j t · x i j t
3. Agricultural Machinery Operational Cost:
C o p = i = 1 m j = 1 n   t T i C w j · w o r k T i j t · x i j t
4. Agricultural Machinery Waiting Cost:
C w a i t = i = 1 m j = 1 n   k T i C d j · w a i t T i j t · z i j t
5. Time Window Violation Penalty:
C p e n a l t y = i = 1 m P i
Thus, the total scheduling cost is given by:
m i n   C t o t a l = C t r a n s + C l a b o r + C o p + C w a i t + C p e n a l t y

2.2.3. Constraints

According to the analysis of the multi-task, multi-agricultural machinery scheduling process of agricultural operations, the constraints are determined as follows:
t r a n s T i p j = d i p t r a n s V j ; ( i , p { 0,1 , , m + 1 } , j { 1,2 , , n } )
w o r k T i j t = S i w o r k V j ,   i f   T y p e j = t 0 ,   o t h e r w i s e .   ; i , j , t
j : T y p e j = t   x i j t = 1 ; i { 1 , , m } , t T i
x i j t = 0 ;   i f   T y p e j t
f i , T i [ p ] s t i , T i [ p + 1 ] ; p 1,2 , , T i 1
s t i , t = j :   T y p e j = t   s t i j t x i j t ; i { 1 , , m } , t T i
f i , t = s t i , t + j : T y p e j = t     w o r k   i j t x i j t ; i { 1 , , m } , t T i
E T i s t i , T i [ 1 ]   and   f i , T i T i L T i ; ( i { 1 , , m } )
P i = E T i s t i , T i [ 1 ] C e i   i f   s t i , T i [ 1 ] < E T i 0     i f   E T i s t i , T i [ 1 ]   a n d   f i , T i T i L T i f i , T i T i L T i C l i   i f   f i , T i T i > L T i
a t i j t = p = 1 m + 1   m a x t T p   f p , t x p j t + t r a n s T p i j y p i j ; ( i , j , t )
w a i t T i j t = m a x 0 , s t i j t a t i j t ; ( i , j , t )
p = 0 m + 1   y p i j = p = 0 m + 1   y i p j ; ( i { 0,1 , , m + 1 } , j { 1 , , n } )
i = 1 m   y 0 i j 1 ; ( j { 1,2 , , n } )
i = 1 m   y i , m + 1 , j 1 ; ( j { 1,2 , , n } )
x i j t = 1   ,   i f   m a c h i n e   M j   p e r f o r m s   t a s k   t   a t   F i 0                                                 ,   o t h e r w i s e  
y i p j = 1   ,   i f   m a c h i n e   M j   t r a v e l s   f r o m   l o c a t i o n   i   t o   l o c a t i o n   p 0                                               ,   o t h e r w i s e  
z i j t = 1   ,   i f   m a c h i n e   M j   w a i t s   b e f o r e   p e r f o r m i n g   t a s k   t   a t     F i 0                                                   ,   o t h e r w i s e  
Constraint (7) calculates transfer time between locations based on machinery speed. Constraint (8) determines operational time considering machinery efficiency and task compatibility. Constraint (9) enforces the task assignment constraint, ensuring that each required task at every farmland is assigned to exactly one machine of the appropriate type. Constraint (10) establishes the machine-task compatibility constraint, preventing machines from being assigned to tasks that do not match their operational capabilities.
Constraint (11) imposes the task sequence constraint, ensuring that tasks within each farmland are executed in the predetermined order specified in the task list. Constraints (12) and (13) define the temporal relationships between task executions, where Constraint (12) establishes the actual start time of each task based on the assigned machinery, and Constraint (13) calculates the completion time as the sum of start time and operational duration. Constraint (14) ensures all operations comply with farmland time windows [ E T i , L T i ] . Constraint (15) quantifies the time window violation penalties, imposing costs for premature task initiation or delayed task completion relative to the specified time windows.
Constraint (16) calculates the arrival time of machinery at farmlands based on previous task completions and transfer times from either the depot or other farmland locations. Constraint (17) determines the waiting time incurred when machinery arrives at farmlands before the scheduled task commencement time. Constraint (18) maintains the flow balance constraint for machinery movement, ensuring that the number of arrivals equals the number of departures at each location for every machine. Constraints (19) and (20) specify that each machine can depart from and return to the depot at most once during the scheduling horizon, ensuring realistic operational constraints. Constraints (21–23) define the binary decision variables that govern the scheduling system.

2.2.4. Variable Description

The parameter configuration used in the proposed AGA-ACO algorithm is summarized in Table 1.

2.3. AGA-ACO Algorithm

Agricultural machinery scheduling problems present a complex optimization challenge involving multiple constraints such as time windows, spatial relationships, and resource allocation. While traditional genetic algorithms (GA) have demonstrated broad applicability to combinatorial problems, they often suffer from premature convergence to local optima and rely on empirical parameter tuning. To address these limitations, we propose AGA-ACO (Adaptive Genetic Algorithm with Ant Colony Optimization), a hybrid metaheuristic framework enhanced through three innovations:
(1)
Autonomous adaptation mechanism: Dynamically adjusts crossover and mutation probabilities based on real-time population fitness, eliminating manual parameter setting.
(2)
Elite preservation with diversity maintenance: A fitness-proportional (roulette-wheel) selection scheme guarantees the retention of high-quality solutions, while explicitly enforcing diversity thresholds to prevent genetic stagnation.
(3)
Pheromone-guided local intensification: Borrowing from ant colony optimization (ACO), pheromone trails focus local search on promising task–machine assignments under tight time-window constraints, thus refining solution quality without sacrificing convergence speed.
This hybrid approach leverages GA’s global exploration capabilities and ACO’s local exploitation precision to achieve accelerated convergence while maintaining solution diversity, particularly crucial for the spatiotemporal optimization required in agricultural machinery coordination, where both routing efficiency and temporal compliance must be jointly optimized.

2.3.1. Algorithm Framework

On the basis of the mathematical model presented, an Adaptive Genetic Algorithm with Ant Colony Optimization (AGA-ACO) is proposed to solve the multi-task scheduling problem of agricultural machinery. The hybrid algorithm framework iterates through genetic operations (selection, crossover, mutation) and ACO-guided local search. Elite solutions trigger pheromone updates that guide subsequent ACO local search operations, creating a synergistic optimization process where GA provides global exploration and ACO enhances local solution quality. The overall algorithm flow is shown in Figure 1.

2.3.2. Algorithm Steps

(1)
Parameter Initialization. The algorithm begins by loading all necessary input parameters, which include the operational parameters of agricultural machinery, geospatial attributes of farmlands, and task specifications. Subsequently, core algorithmic parameters are configured to initialize the optimization process.
(2)
Encoding and Decoding Scheme. The algorithm employs a priority-based integer encoding strategy for solution representation. Each chromosome consists of n genes corresponding to n farmlands, where the gene value g(i) represents the operational priority of farmland i. Lower values of g(i) indicate higher priority for task execution. The initial population is generated through a randomized priority assignment process. During decoding, farmlands are sorted according to their priority values, and agricultural machinery is then assigned to execute tasks following this prioritized sequence. The assignment considers both spatial proximity between machinery and farmlands, as well as temporal constraints.
As shown in Figure 2, where the number of farmlands is 9, g ( i ) denotes the priority of operation point i , where the smaller number of g ( i ) means the higher priority of the operation point. The order of operation of agricultural machinery obtained after decoding is 7-2-8-1-5-4-9-6-3.
(3)
Fitness. The fitness function evaluates individual quality during evolution. To minimize total scheduling costs, the fitness is defined as the reciprocal of the cost function:
f = 1 1 + C normalized  
where C normalized   is the cost scaled between the minimum and maximum values within the population using min-max normalization:
C normalized   = C C min   C max   C min  
This formulation ensures that individuals with lower costs receive higher fitness values, with fitness values ranging from 0.5 (worst individual) to 1.0 (best individual).
(4)
Selection. High-quality individuals are selected without duplication to ensure population diversity and improve convergence efficiency and algorithm accuracy for effectively preserving high-quality solutions. In the selection phase, both roulette wheel selection and elitist selection are used to ensure that individuals with higher fitness have a greater probability of survival, while outstanding individuals are preserved and passed on to the next generation [42]. The selection probability for individual i is:
P i = f i i = 1 n   f i
where n is the population size, and fi is the fitness of individual i. This strategy biases selection toward high-fitness solutions while preserving diversity.
(5)
Adaptive crossover. In traditional genetic algorithms, the crossover and mutation probabilities remain fixed throughout the evolutionary process, which often leads to premature convergence or inefficient exploration. Although these parameters are critical factors affecting algorithm performance, determining their optimal values remains challenging. Extensive research has demonstrated that adaptive control of these parameters can significantly improve algorithm efficiency [20,43].
Building upon previous studies on dynamic parameter control strategies [39], this paper proposes an enhanced adaptive crossover mechanism that dynamically adjusts crossover probability based on individual fitness levels and population diversity.
The crossover probability P c is dynamically adjusted based on individual fitness to balance exploitation and exploration, defined as:
P c = P c 1 1 P c 1 P c 2 + e f f avg   f max   f avg   , f f avg                                     k 1 P c 1 ,                                               f < f avg  
where P c 1 and P c 2 denote the maximum and minimum crossover probabilities, respectively; f represents the higher fitness value between the two individuals selected for crossover; f avg   and f max are the average and maximum fitness values in the current population; k 1 [0.5, 1] is a scaling factor.
This adaptive mechanism protects elite genetic material by assigning exponentially decreasing crossover probabilities to high-fitness individuals above the population average, while simultaneously promoting exploration through higher crossover rates for suboptimal solutions scaled by k 1 . The exponential function ensures smooth probability transitions across different fitness levels, preventing abrupt changes that could destabilize the search process.
(6)
Adaptive mutation. While crossover exploits existing genetic information, mutation serves as a critical diversification operator that introduces novel genetic variations to escape local optima. To complement the adaptive crossover strategy and further enhance the algorithm’s search capability, we propose a self-adaptive mutation mechanism with similar fitness-based adjustment principles. The mutation probability P m is dynamically adjusted based on individual fitness:
P m = P m 1 1 P m 1 P m 2 + e f f avg   f max   f avg   , f f avg                                                               k 2 P m 1 ,                               f < f avg      
where P m 1 and P m 2 represent the maximum and minimum mutation probabilities, respectively; f is the individual’s fitness value; k 2 [0.5, 1] regulates mutation intensity. The parameters for adaptive crossover and mutation were determined through a series of preliminary experiments. The values were chosen from a range of candidate values and the selected ones provided a good balance between exploration and exploitation.
This mutation mechanism preserves elite genetic structures through minimal mutation rates for high-fitness individuals, while applying stronger mutation to suboptimal individuals to escape local optima. As the population converges, mutation intensity automatically adjusts—decreasing for elite individuals while maintaining sufficient diversity. Combined with adaptive crossover, this dual-adaptive strategy forms a self-regulating system that balances convergence pressure and population diversity throughout the evolutionary process.
(7)
ACO-Enhanced Optimization Mechanism. The hybrid algorithm integrates an ant colony optimization (ACO) mechanism, a probabilistic algorithm designed for optimal path finding [44], to refine task-machine assignments by leveraging pheromone-guided local search and heuristic-driven exploration. The pheromone matrix τ ( i , j , m ) , initialized as τ ( i , j , m ) ( 0 ) = 1.0 , quantifies the desirability of assigning machine m to task j at farmland i. The heuristic factor η ( i , j , m ) balances temporal feasibility and cost efficiency, defined as:
η ( i , j , m ) = 1 m a x 0 , t j m l i l i × 1 1 + C estimated  
where t j m is the execution time of machine m for task j, l i denotes the latest service time of farmland i, and C estimated   aggregates transfer, operational, and labor costs. The selection probability P ( i , j , m ) k for ant k to choose machine m follows a pheromone-heuristic balance rule:
P ( i , j , m ) k = τ ( i , j , m ) α η ( i , j , m ) β m M i j   τ i , j , m α η i , j , m β
The parameters α = 1 and β = 2 balance pheromone influence and heuristic information based on preliminary experiments.
Pheromone trails are updated using an evaporation-reinforcement strategy:
τ ( i , j , m ) ( t + 1 ) = ( 1 ρ ) τ ( i , j , m ) ( t ) + Δ τ ( i , j , m )
where the evaporation rate ρ ( 0,1 ) ensures adequate pheromone persistence while preventing excessive accumulation, and the pheromone increment Δ τ ( i , j , m ) is calculated as:
Δ τ ( i , j , m ) = Q 1 + C total
where Q provides sufficient reinforcement strength and C total   represents the total cost of the current solution. Pheromone updates occur only when improved solutions are discovered, ensuring that the pheromone matrix learns exclusively from high-quality assignments.
To prevent premature convergence and maintain exploration diversity, pheromone values are bounded within the range [ τ m i n , τ m a x ] = [0.5, 5.0] after each update:
τ i , j , m ( t + 1 ) = m a x ( 0.5 , m i n ( 5.0 , τ i , j , m ( t + 1 ) )
This bounding mechanism maintains exploration diversity by ensuring minimum selection probability ( τ m i n = 0.5 ) for all feasible assignments while preventing excessive pheromone accumulation ( τ m a x = 5.0 ) that causes premature convergence on suboptimal solutions.
Post-genetic operations, the ACO-driven local search selectively refines high-fitness solutions by stochastically reassigning tasks to machines with higher pheromone-heuristic scores, prioritizing allocations that minimize time window violations and resource conflicts. The local search mechanism randomly selects tasks from current solutions, identifies compatible machines, calculates selection probabilities using the pheromone-heuristic balance rule, and updates assignments only when solution quality improves.
The optimized solutions replace their original counterparts in the genetic algorithm population, facilitating a synergistic exchange between global search (GA) and local refinement (ACO). This integration ensures computational stability while addressing the spatiotemporal and economic constraints inherent in agricultural machinery scheduling.
(8)
Conflict Detection and Resolution. To ensure operational feasibility and prevent scheduling conflicts during solution construction, the algorithm implements a farmland occupation tracking mechanism. This mechanism maintains a dynamic registry of scheduled operations for each farmland and validates each new task assignment to prevent temporal overlaps.
During the chromosome decoding process (Step 2) and local search phase (Step 7), the algorithm maintains an occupation registry for each farmland. This registry stores the time intervals of all scheduled operations, recording when each operation starts and finishes. When assigning a new task, the algorithm performs the following conflict detection procedure:
  • Calculate completion time: Determine when the proposed operation would finish based on its start time and duration.
  • Check for conflicts: Compare the proposed operation time interval with all existing operations at the same farmland. Two operations overlap if one starts before the other finishes.
  • Resolve conflicts: If overlap is detected, adjust the start time to begin after all conflicting operations complete.
  • Validate time window: Verify that the adjusted assignment satisfies the farmland time window constraint. If the completion time exceeds the deadline, reject the assignment.
  • Update registry: Upon successful validation, add the new operation interval to the registry for future conflict checks.
The detection mechanism addresses three types of scheduling conflicts commonly encountered in agricultural machinery coordination: spatial conflicts from limited field capacity, resource conflicts over shared infrastructure access and agronomic conflicts requiring safety intervals between operations.
This runtime detection system complements Constraint (11)’s task sequencing by preventing temporal overlaps when different machines operate at the same location. With minimal computational overhead, it ensures all generated schedules are operationally feasible and directly deployable without manual intervention.
(9)
Preservation of Elite Solutions. A crucial aspect of the algorithm involves safeguarding the best-performing individuals to mitigate population degeneration. This is achieved through a strict elitism mechanism where the optimal solution in each generation is preserved unchanged. One copy of this elite individual is exempt from crossover and mutation operations and is automatically carried forward to the next generation, thereby ensuring that the solution quality does not deteriorate throughout the evolutionary process.
(10)
Iterative Procedure. The optimization process is conducted iteratively. The algorithm proceeds cycle-by-cycle through the steps of selection, crossover, mutation, and local refinement. It halts when the stopping criterion is met, which is typically either a sufficiently high solution quality (fitness) has been attained or a computational budget has been exhausted. The final solution is then retrieved by decoding the best individual in the population.

3. Results

3.1. Experimental Setup

To validate the effectiveness of the proposed AGA-ACO algorithm, comprehensive experiments were conducted using real-world agricultural data from the Hangzhou region, which represents typical intensive farming conditions in eastern China. A discrete-event simulation framework in Python 3.9 incorporated actual agronomic requirements and machinery specifications from local cooperatives. The computational experiments were executed on a Windows 10 platform equipped with an Intel® Core™ i7-8750H processor (6 cores @ 2.20 GHz; Intel Corporation, Santa Clara, CA, USA) and 16 GB DDR4 RAM (Samsung Electronics Co., Ltd., Suwon, South Korea).

3.1.1. Dataset Description

Table 2 presents the farmland operation information, primarily covering the farmland operation area, farmland coordinates, operation types, and time windows for farmland access. Specifically, operation task numbers 1 to 5 correspond to rotary tillage, rice transplanting, weeding, pesticide spraying, and transportation operations, respectively.
The experimental dataset uses a coordinate system where distances are measured in kilometers. All farmlands and the machinery depot are positioned within an 80 km × 80 km operational area. All agricultural machines are initially stationed at the central depot located at coordinates (30, 60), representing a typical centralized machinery management system adopted by agricultural cooperatives. This coordinate system allows for realistic distance calculations while maintaining the generalizability of the optimization results. Table 3 presents the available agricultural machinery information, including machinery specifications and cost parameters.
The experimental design follows established practices in agricultural machinery scheduling research, with parameters validated against industry standards and local cooperative operational data to ensure both realism and computational tractability. The dataset structure facilitates reproducibility while maintaining the generalizability of optimization results for similar agricultural regions.

3.1.2. Algorithm Parameter Configuration

To ensure fair comparison and reproducibility, the AGA-ACO algorithm was initialized with carefully calibrated parameters based on preliminary sensitivity analysis. The population size was set to 300 individuals to balance solution diversity with computational efficiency. The maximum number of evolutionary iterations was limited to 100, with convergence criteria defined as no improvement in the best solution for 20 consecutive iterations. For the genetic component, the crossover probability was set to 0.9 and the mutation probability to 0.05, following established best practices in evolutionary computation for combinatorial optimization problems. The ACO component employed 50 ants with a pheromone importance factor (α) of 1.0 and a heuristic information factor (β) of 2.0, parameters empirically determined to balance exploration and exploitation.
For comparative analysis, the conventional GA, baseline ACO, and PSO algorithms were configured with identical population sizes and iteration limits. The PSO algorithm parameters were set as follows: inertia weight w = 0.9, cognitive and social acceleration coefficients c1 = c2 = 2.0. All parameter values were validated through preliminary experiments to ensure unbiased comparison.

3.2. Simulation Results and Analysis

3.2.1. Performance Evaluation

The initial experimental evaluation focused on a 10-farmland scenario comprising 26 distinct operational tasks. Figure 3 presents the comprehensive scheduling results obtained from the best solutions after five independent runs of AGA-ACO, including Gantt charts and convergence curves. The Gantt charts utilize color-coded blocks to represent individual farmland operations, with block dimensions indicating operation duration and machinery allocation. In the Gantt charts, the notation F ( i , j ) indicates that the machinery unit is executing task j on farmland i. White blocks represent machinery idle time, while gray blocks denote machinery transfer time between farmlands, providing a comprehensive visualization of both productive and non-operational time allocation.
For comparison, Figure 4 displays the scheduling results and convergence plots of the conventional GA, ACO, and PSO algorithms under the same 10-farmland scenario.
The AGA-ACO algorithm demonstrated superior performance across multiple evaluation metrics. Table 4 presents the detailed scheduling solution, revealing an optimized machinery routing strategy that minimizes both scheduling cost and idle time.

3.2.2. Scalability Analysis

To evaluate algorithm scalability and robustness, experiments were conducted on increasingly complex scenarios with 15, 20, and 30 farmland plots. Table 5 summarizes the comparative performance across different problem scales, with each result averaged over five independent runs to ensure statistical validity.
The results demonstrate consistent performance advantages of AGA-ACO across all problem scales. Cost reductions range from 5.92% to 10.87% compared to GA, 5.47% to 7.75% compared to ACO, and 6.23% to 9.51% compared to PSO, where the adaptive genetic operators and pheromone-guided local search synergistically refine solutions. Convergence efficiency remains remarkably stable, with AGA-ACO achieving competitive iteration counts while maintaining superior solution quality. The relatively small standard deviations in both cost and iterations further validate the robustness and reliability of the proposed approach across multiple independent runs.

3.2.3. Convergence Behavior Analysis

Figure 5 presents detailed convergence trajectories for different problem scales, revealing distinct algorithmic behaviors and validating the effectiveness of the hybrid approach.
The convergence analysis reveals two key insights:
(1)
Superior Optimization Trajectory: AGA-ACO demonstrates consistently better performance throughout the entire optimization process. It generates superior initial solutions with costs 15–20% lower than standard algorithms due to adaptive initialization, then maintains effective exploration-exploitation balance through adaptive operators and pheromone-guided diversification. This dual mechanism prevents the premature convergence observed in standalone GA and ACO, where both algorithms progressively lose optimization momentum and stagnate at suboptimal solutions, particularly evident in Figure 5c,d.
(2)
Convergence Efficiency: The hybrid approach achieves optimal solutions with significantly fewer iterations across all problem scales. Most notably in the 30-farmland scenario (Figure 5d), AGA-ACO achieves convergence significantly faster than GA, ACO, and PSO while maintaining superior solution quality. This efficiency gain stems from the synergistic two-phase optimization strategy—genetic algorithm for rapid global exploration followed by ant colony optimization for targeted local refinement—enabling the algorithm to identify and exploit high-quality solution regions more effectively than either component algorithm alone.
Notably, AGA-ACO’s performance advantage becomes more pronounced as problem complexity increases, demonstrating its superior scalability in handling larger agricultural scheduling instances. While PSO exhibits faster convergence in smaller problems (15 farmlands), AGA-ACO maintains a better balance between convergence speed and solution quality across all scales, particularly excelling in the more challenging 20 and 30 farmland scenarios where operational constraints and resource coordination become increasingly complex.

3.2.4. Algorithm-Component Comparison

To quantify the marginal contribution of each algorithmic component, four configurations were benchmarked under identical parameter settings:
GA-Base: fixed crossover and mutation probabilities ( P c = 0.9, P m = 0.05);
GA-ACO: base GA + ACO local search (no adaptation);
AGA: adaptive Pc and Pm only;
AGA-ACO: full proposed method (adaptive + local search);
Experiments were conducted on 15, 20, and 30 farmland scenarios, each averaged over five independent runs. Table 6 summarizes the average total cost, the number of iterations required to reach convergence, and the relative performance gap compared to the full AGA-ACO configuration.
Three trends are visible:
  • The AGA configuration removes roughly three-quarters of the excess cost observed in GA-Base and shortens convergence time by 10–15%. Dynamically self-tuned crossover and mutation probabilities help maintain population diversity and protect high-fitness routes from premature loss. This continuous adaptation supplies a steady stream of promising task–machine combinations, yielding near-optimal solutions without additional computational overhead from local search.
  • Introducing ACO refinement into a fixed-parameter GA (GA-ACO) reduces the total cost by another 2–3%, demonstrating the effectiveness of pheromone-guided task reassignment in enhancing local solution quality. However, because crossover and mutation remain static, the algorithm still risks premature convergence once the population becomes overly homogeneous—limiting the ACO’s ability to further explore new high-quality routes. As a result, GA-ACO’s performance remains slightly inferior to that of the adaptive GA.
  • The full hybrid model achieves the best balance between exploration and exploitation. Its marginal improvement over AGA decreases from 3.1% to 3.6% and finally to 2.2% as the number of farmlands increases, indicating that with larger problem sizes, opportunities for route sharing diminish and constraint saturation increases. Nonetheless, the ACO refinement continues to provide meaningful improvements in both convergence smoothness and final solution quality.
In summary, Table 6 quantitatively demonstrates that the adaptive mechanism primarily stabilizes the convergence dynamics of the genetic process, while the ACO-based local search contributes precision refinements during the final optimization stage. Their synergistic integration ensures the most effective balance between computational effort and scheduling cost across all tested problem scales.

3.3. System Development

To validate the practical applicability of the proposed AGA-ACO algorithm, a comprehensive agricultural machinery scheduling management system was developed. The system architecture integrates multiple advanced technologies, including intelligent sensors, the Internet of Things (IoT), positioning systems, remote sensing, and Geographic Information Systems (GIS), providing precise scheduling and management support for agricultural operations. The system follows a hierarchical design pattern based on the “Perception-Transmission-Service-Application” closed-loop framework, enabling data-driven decision-making and intelligent management integration.
The system employs the MQTT protocol for its communication infrastructure, enabling real-time sensor data acquisition from agricultural machinery and bidirectional command transmission. This lightweight messaging protocol ensures efficient data exchange even in areas with limited network connectivity, which is common in rural agricultural environments.
The system’s core functionality encompasses agricultural machinery management, scheduling optimization through the AGA-ACO algorithm, real-time operation monitoring, historical data analysis, and an integrated agricultural expert system for operational guidance. Figure 6 illustrates the agricultural machinery management interface, which displays the current list of available machinery along with their operational status. The interface provides comprehensive access to machinery attributes, current operational states, and historical operation trajectories. Users can query specific machinery information through intuitive search and filter functions, facilitating efficient fleet management.
The real-time scheduling visualization, presented in Figure 7, demonstrates the practical implementation of the AGA-ACO algorithm. The interface displays optimized routing paths for each machinery unit departing from the central depot to assigned farmland plots based on task requirements. The visualization is implemented using the AMap (Gaode) API. Some non-English labels appearing on the base map correspond to real geographic names automatically generated by the mapping service; these have no scientific implication and do not affect the interpretation of the results. The visualization employs an interactive map overlay where machinery icons represent current positions, and polylines indicate planned routes. When users hover over machinery icons, the system displays real-time operational information, including current task progress, estimated completion time, and operational parameters.

4. Discussion

The proposed AGA-ACO algorithm demonstrates a significant advancement in solving the multi-task agricultural machinery scheduling problem, yielding notable improvements in cost efficiency, convergence speed, and scalability across various operational scales. However, the study’s findings should be interpreted within the context of its model assumptions, which present certain limitations and avenues for future research. A primary limitation lies in the model’s reliance on static and predetermined parameters, which may not fully encapsulate the dynamic and uncertain realities of agricultural operations. Factors such as abrupt weather changes, sudden disasters, or real-time fluctuations in soil conditions and task priorities are not accounted for, potentially affecting the model’s applicability in highly volatile environments.
While the experimental validation utilized farmland data from the Hangzhou region, the proposed AGA-ACO framework demonstrates strong potential for broader geographical adaptation. The algorithm’s core components—including the adaptive parameter control mechanism and conflict resolution system—provide inherent flexibility to accommodate diverse climatic and topographic conditions. Future application to different agricultural regions would primarily require parameter adjustments in machinery efficiency coefficients, time window constraints, and transfer costs to reflect local operational characteristics, rather than fundamental algorithmic modifications.
Future research should prioritize enhancing the model’s resilience and adaptability. Integrating real-time data assimilation from IoT and remote sensing technologies could enable dynamic rescheduling in response to unforeseen events like extreme weather or disasters. Additionally, expanding the optimization objectives beyond economic efficiency to include environmental considerations—such as fuel consumption, carbon emissions, and soil compaction—would align the scheduling system with sustainable agriculture principles. The exploration of deep reinforcement learning could enable the system to learn from operational history and continuously improve its scheduling policies.
In a broader perspective, this research contributes a robust computational framework to the digital transformation of agriculture. By addressing complex spatiotemporal constraints in machinery coordination, the AGA-ACO algorithm lays the foundation for intelligent agricultural management systems. As precision agriculture continues to evolve toward autonomous operations, scheduling frameworks that balance computational efficiency with real-world adaptability will become increasingly critical for achieving resilient and sustainable food production systems.

5. Conclusions

This study addressed the multi-task agricultural machinery scheduling problem by proposing an adaptive genetic algorithm integrated with ant colony optimization (AGA-ACO). The hybrid framework successfully overcomes the limitations of traditional scheduling approaches in handling time window constraints, machinery heterogeneity, and task dependencies in complex agricultural environments.
The AGA-ACO algorithm achieved consistent performance advantages across all problem scales. Compared with the benchmark algorithms, it reduced total scheduling cost by 5.92–10.87% relative to GA, 5.47–7.75% relative to ACO, and 6.23–9.51% relative to PSO, while maintaining competitive convergence speed. The adaptive genetic operators and pheromone-guided local search work synergistically to refine solutions, yielding higher-quality schedules with fewer iterations. The relatively small standard deviations of both cost and convergence iterations further confirm the robustness and reliability of the proposed method across multiple independent runs.
The scheduling model effectively captures agricultural operational complexities by formulating the problem as a VRPTW variant. The developed management system, integrating IoT sensors, MQTT protocols, and GIS visualization, demonstrates the practical feasibility of the proposed approach for real-time agricultural operations. Moreover, the algorithm exhibits strong scalability, with its performance advantage becoming more pronounced as the problem size and scheduling complexity increase, indicating its adaptability to large-scale agricultural applications.
This research contributes a novel metaheuristic integration framework for NP-hard scheduling problems and provides a replicable methodology for optimizing agricultural machinery operations. The AGA-ACO algorithm and its system implementation can be extended to diverse agricultural contexts requiring multi-machine coordination under time and resource constraints. Future work will extend the model to incorporate dynamic environmental factors, enhancing its applicability across diverse agricultural ecosystems. As agriculture evolves toward increased mechanization, intelligent scheduling systems become critical for ensuring operational efficiency and sustainable development.

Author Contributions

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

Funding

This research was funded by the National Natural Science Foundation of China (Grant no 32572209) and the Key Research and Development Program of Zhejiang (Grant no 2023C02053).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.

Acknowledgments

The authors gratefully acknowledge the editors and the reviewers for their constructive comments on our manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Bochtis, D.D.; Sørensen, C.G.; Busato, P. Advances in agricultural machinery management: A review. Biosyst. Eng. 2014, 126, 69–81. [Google Scholar] [CrossRef]
  2. Li, H.; Chen, L.; Zhang, Z. A study on the utilization rate and influencing factors of small agricultural machinery: Evidence from 10 hilly and mountainous provinces in China. Agriculture 2022, 13, 51. [Google Scholar] [CrossRef]
  3. Sethanan, K.; Neungmatcha, W. Multi-objective particle swarm optimization for mechanical harvester route planning of sugarcane field operations. Eur. J. Oper. Res. 2016, 252, 969–984. [Google Scholar] [CrossRef]
  4. Liu, Y.; Zang, Y.; Yang, Y. China’s rural revitalization and development: Theory, technology and management. J. Geogr. Sci. 2020, 30, 1923–1942. [Google Scholar] [CrossRef]
  5. Liu, D.; You, J.; Wang, R.; Deng, H. Agricultural production optimization and marginal product response to climate change. Agriculture 2022, 12, 1403. [Google Scholar] [CrossRef]
  6. Liu, X.; Zhu, X.; Hao, K. Dynamic immune cooperative scheduling of agricultural machineries. Complex Intell. Syst. 2021, 7, 2871–2884. [Google Scholar] [CrossRef]
  7. Zhou, Z.; Zina, A.; Qu, L.; Cao, Z.; Zhang, Y.; Zhao, D. Enhancing agricultural production and environmental benefits through full mechanization: Experimental evidence from China. Habitat Int. 2025, 157, 103332. [Google Scholar] [CrossRef]
  8. Xue, X.; Han, Y. Research review on agriculture machinery operation services. J. China Agric. Univ. 2021, 10, 185–197. [Google Scholar]
  9. Tabatabaei, A.; Torabi, F.; Paitoon, T. Simultaneous scheduling of machines and automated guided vehicles utilizing heuristic search algorithm. In Proceedings of the 2018 IEEE 8th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 8–10 January 2018; IEEE: New York, NY, USA, 2018; pp. 54–59. [Google Scholar]
  10. Cortés, C.E.; Sáez, D.; Núñez, A.; Muñoz-Carpintero, D. Hybrid adaptive predictive control for a dynamic pickup and delivery problem. Transp. Sci. 2009, 43, 27–42. [Google Scholar] [CrossRef]
  11. Dupanloup, I.; Schneider, S.; Excoffier, L. A simulated annealing approach to define the genetic structure of populations. Mol. Ecol. 2002, 11, 2571–2581. [Google Scholar] [CrossRef]
  12. Qiu, M.; Fu, Z.; Eglese, R.; Tang, Q. A tabu search algorithm for the vehicle routing problem with discrete split deliveries and pickups. Comput. Oper. Res. 2018, 100, 102–116. [Google Scholar] [CrossRef]
  13. Vincent, F.Y.; Jodiawan, P.; Gunawan, A. An adaptive large neighborhood search for the green mixed fleet vehicle routing problem with realistic energy consumption and partial recharges. Appl. Soft Comput. 2021, 105, 107251. [Google Scholar] [CrossRef]
  14. Chen, S.; Chen, R.; Wang, G.-G.; Gao, J.; Sangaiah, A.K. An adaptive large neighborhood search heuristic for dynamic vehicle routing problems. Comput. Electr. Eng. 2018, 67, 596–607. [Google Scholar] [CrossRef]
  15. Chávez, J.J.; Escobar, J.W.; Echeverri, M.G. A multi-objective Pareto ant colony algorithm for the Multi-Depot Vehicle Routing problem with Backhauls. Int. J. Ind. Eng. Comput. 2016, 7, 35. [Google Scholar] [CrossRef]
  16. Montemanni, R.; Gambardella, L.M.; Rizzoli, A.E.; Donati, A.V. Ant colony system for a dynamic vehicle routing problem. J. Comb. Optim. 2005, 10, 327–343. [Google Scholar] [CrossRef]
  17. Hanshar, F.T.; Ombuki-Berman, B.M. Dynamic vehicle routing using genetic algorithms. Appl. Intell. 2007, 27, 89–99. [Google Scholar] [CrossRef]
  18. He, P.; Li, J.; Qin, H.; He, Y.; Cao, G. Using hybrid algorithm to reduce non-working distance in intra-and inter-field logistics simultaneously for heterogeneous harvesters. Comput. Electron. Agric. 2019, 167, 105065. [Google Scholar] [CrossRef]
  19. Feng, T.; Li, J.; Jiang, H.; Yang, S.X.; Wang, P.; Teng, Y.; Chen, S.; Fu, Q.; Luo, B. The optimal global path planning of mobile robot based on improved hybrid adaptive genetic algorithm in different tasks and complex road environments. IEEE Access 2024, 12, 18400–18415. [Google Scholar] [CrossRef]
  20. Srinivas, M.; Patnaik, L.M. Adaptive probabilities of crossover and mutation in genetic algorithms. IEEE Trans. Syst. Man. Cybern. 2002, 24, 656–667. [Google Scholar] [CrossRef]
  21. Jafar-Zanjani, S.; Inampudi, S.; Mosallaei, H. Adaptive genetic algorithm for optical metasurfaces design. Sci. Rep. 2018, 8, 11040. [Google Scholar] [CrossRef]
  22. Chen, R.; Liang, C.-Y.; Hong, W.-C.; Gu, D.-X. Forecasting holiday daily tourist flow based on seasonal support vector regression with adaptive genetic algorithm. Appl. Soft Comput. 2015, 26, 435–443. [Google Scholar] [CrossRef]
  23. Lu, H.; Wen, X.; Lan, L.; An, Y.; Li, X. A self-adaptive genetic algorithm to estimate JA model parameters considering minor loops. J. Magn. Magn. Mater. 2015, 374, 502–507. [Google Scholar] [CrossRef]
  24. Wang, W.Q. Research on Models and Algorithms for Agricultural Machinery Scheduling Problem with Time Window. Ph.D. Thesis, Zhejiang University, Hangzhou, China, 2019. [Google Scholar]
  25. Guan, S.; Nakamura, M.; Shikanai, T.; Okazaki, T. Resource assignment and scheduling based on a two-phase metaheuristic for cropping system. Comput. Electron. Agric. 2009, 66, 181–190. [Google Scholar] [CrossRef]
  26. Orfanou, A.; Busato, P.; Bochtis, D.D.; Edwards, G.; Pavlou, D.; Sørensen, C.G.; Berruto, R. Scheduling for machinery fleets in biomass multiple-field operations. Comput. Electron. Agric. 2013, 94, 12–19. [Google Scholar] [CrossRef]
  27. Chen, J.; Han, P.; Zhang, Y.; You, T.; Zheng, P. Scheduling energy consumption-constrained workflows in heterogeneous multi-processor embedded systems. J. Syst. Archit. 2023, 142, 102938. [Google Scholar] [CrossRef]
  28. Cao, R.; Li, S.; Ji, Y.; Zhang, Z.; Xu, H.; Zhang, M.; Li, M.; Li, H. Task assignment of multiple agricultural machinery cooperation based on improved ant colony algorithm. Comput. Electron. Agric. 2021, 182, 105993. [Google Scholar] [CrossRef]
  29. Wang, Y.-J.; Huang, G.Q. A two-step framework for dispatching shared agricultural machinery with time windows. Comput. Electron. Agric. 2022, 192, 106607. [Google Scholar] [CrossRef]
  30. He, P.; Li, J.; Wang, X. Wheat harvest schedule model for agricultural machinery cooperatives considering fragmental farmlands. Comput. Electron. Agric. 2018, 145, 226–234. [Google Scholar] [CrossRef]
  31. Dantzig, G.B.; Ramser, J.H. The Truck Dispatching Problem. Manag. Sci. 1959, 6, 80–91. [Google Scholar] [CrossRef]
  32. Zhang, F.; Luo, X.; Zhang, Z.; He, J.; Zhang, W. Agricultural machinery scheduling optimization method based on improved multi-parents genetic algorithm. Trans. CSAE 2021, 37, 192–198. [Google Scholar]
  33. Lin, T.; Liao, W.-T.; Rodríguez, L.F.; Shastri, Y.N.; Ouyang, Y.; Tumbleson, M.E.; Ting, K.C. Optimization modeling analysis for grain harvesting management. Trans. ASABE 2019, 62, 1489–1508. [Google Scholar] [CrossRef]
  34. Basnet, C.B.; Foulds, L.R.; Wilson, J.M. Scheduling contractors’ farm-to-farm crop harvesting operations. Int. Trans. Oper. Res. 2006, 13, 1–15. [Google Scholar] [CrossRef]
  35. Vazquez, D.A.Z.; Fan, N.; Teegerstrom, T.; Seavert, C.; Summers, H.M.; Sproul, E.; Quinn, J.C. Optimal production planning and machinery scheduling for semi-arid farms. Comput. Electron. Agric. 2021, 187, 106288. [Google Scholar] [CrossRef]
  36. Cong, C.; Jianping, H.; Qingkai, Z.; Meng, Z.; Yibai, L.; Feng, N.; Guangqiao, C. Research on the Scheduling of Tractors in the Major Epidemic to Ensure Spring Ploughing. Math. Probl. Eng. 2021, 2021, 3534210. [Google Scholar] [CrossRef]
  37. Seyyedhasani, H.; Dvorak, J.S. Reducing field work time using fleet routing optimization. Biosyst. Eng. 2018, 169, 1–10. [Google Scholar] [CrossRef]
  38. Cerdeira-Pena, A.; Carpente, L.; Amiama, C. Optimised forage harvester routes as solutions to a traveling salesman problem with clusters and time windows. Biosyst. Eng. 2017, 164, 110–123. [Google Scholar] [CrossRef]
  39. Wang, Y.; Wang, L.; Chen, G.; Cai, Z.; Zhou, Y.; Xing, L. An improved ant colony optimization algorithm to the periodic vehicle routing problem with time window and service choice. Swarm Evol. Comput. 2020, 55, 100675. [Google Scholar] [CrossRef]
  40. Luo, Y.; Chen, Z.Y. Path optimization of logistics distribution based on improved genetic algorithm. Syst. Eng. 2012, 30, 118–122. [Google Scholar]
  41. Huang, H.; Cuan, X.; Chen, Z.; Zhang, L.; Chen, H. A multiregional agricultural machinery scheduling method based on hybrid particle swarm optimization algorithm. Agriculture 2023, 13, 1042. [Google Scholar] [CrossRef]
  42. Qu, H.; Xing, K.; Alexander, T. An improved genetic algorithm with co-evolutionary strategy for global path planning of multiple mobile robots. Neurocomputing 2013, 120, 509–517. [Google Scholar] [CrossRef]
  43. Hao, K.; Zhao, J.; Li, Z.; Liu, Y.; Zhao, L. Dynamic path planning of a three-dimensional underwater AUV based on an adaptive genetic algorithm. Ocean Eng. 2022, 263, 112421. [Google Scholar] [CrossRef]
  44. Colorni, A.; Dorigo, M.; Maniezzo, V. Distributed optimization by ant colonies. In Proceedings of the First European Conference on Artificial Life, Paris, France, 11–13 December 1991; Volume 142, pp. 134–142. [Google Scholar]
Figure 1. Overall algorithm framework.
Figure 1. Overall algorithm framework.
Agriculture 15 02319 g001
Figure 2. Decoding process.
Figure 2. Decoding process.
Agriculture 15 02319 g002
Figure 3. Scheduling results of the proposed AGA-ACO algorithm for the 10-farmland scenario. (a) Gantt chart of the AGA-ACO; (b) Convergence curve of the AGA-ACO.
Figure 3. Scheduling results of the proposed AGA-ACO algorithm for the 10-farmland scenario. (a) Gantt chart of the AGA-ACO; (b) Convergence curve of the AGA-ACO.
Agriculture 15 02319 g003
Figure 4. Comparative scheduling results of GA, ACO, and PSO algorithms for the 10-farmland scenario. (a) Gantt chart of the GA; (b) Convergence curve of the GA; (c) Gantt chart of the ACO; (d) Convergence curve of the ACO; (e) Gantt chart of the PSO; (f) Convergence curve of the PSO.
Figure 4. Comparative scheduling results of GA, ACO, and PSO algorithms for the 10-farmland scenario. (a) Gantt chart of the GA; (b) Convergence curve of the GA; (c) Gantt chart of the ACO; (d) Convergence curve of the ACO; (e) Gantt chart of the PSO; (f) Convergence curve of the PSO.
Agriculture 15 02319 g004
Figure 5. Convergence efficiency comparison. (a) Comparison of 10 farmlands; (b) Comparison of 15 farmlands; (c) Comparison of 20 farmlands; (d) Comparison of 30 farmlands.
Figure 5. Convergence efficiency comparison. (a) Comparison of 10 farmlands; (b) Comparison of 15 farmlands; (c) Comparison of 20 farmlands; (d) Comparison of 30 farmlands.
Agriculture 15 02319 g005
Figure 6. Agricultural machinery management.
Figure 6. Agricultural machinery management.
Agriculture 15 02319 g006
Figure 7. Real-time scheduling route.
Figure 7. Real-time scheduling route.
Agriculture 15 02319 g007
Table 1. Symbol description.
Table 1. Symbol description.
SymbolDescription
F = { F 1 , F 2 , , F m } Set of farmlands
M = M 1 , M 2 , , M n Set of agricultural machinery
F i The i-th farmland
L o c F i Entry   location   of   farmland   F i
S i Area   of   farmland   F i , hm2
T i Task   list   for   farmland   F i
T i [ p ] The   p -th   task   in   the   task   list   T i
M j The j-th agricultural machinery
T y p e j Task   type   that   machine   M j can perform
Q j Maximum   operational   capacity   of   M j , hm2
L o c M j Current   location   of   machinery   M j
t r a n s V j Average   travel   speed   of   M j during transfer, km/h
w o r k V j Average   operational   efficiency   of   M j , hm2/h
t r a n s T i p j Transfer   time   of   M j from location i to p, h
w o r k T i j t Working   time   of   M j   for   task   t   at   farmland   F i , h
w a i t T i j k Waiting   time   of   M j   before   task   t   at   farmland   F i , h
s t i j t Start   time   of   machine   M j   for   task   t   at   farmland   F i , h
s t i , t Start   time   of   task   t   at   farmland   F i , h
f i , t Completion   time   of   task   t   at   farmland   F i , h
a t i j t Arrival   time   of   machine   M j   for   task   t   at   farmland   F i , h
C t j ,   C g j ,   C w j ,   C d j Unit   transfer ,   labor ,   operation   cos t ,   waiting   cos t   of   M j   (CNY/h)
C e i , C l i Unit   penalty   cos t   for   early   arrival / late   completion   at   farmland   F i (CNY/h)
x i j t Binary :   1   if   machine   M j   performs   task   t   at   farmland   F i , 0 otherwise
y i p j Binary :   1   if   machine   M j   travels from location i to p, 0 otherwise
z i j t Binary :   1   if   machine   M j   waits   before   task   t   at   farmland   F i , 0 otherwise
d i p Distance   from   location   i to p, km
E T i , L T i Time   window   for   completing   all   tasks   at   farmland   F i , h
P i Total   penalty   cos t   for   farmland   F i , CNY
Table 2. Basic Information of Farmland Operations.
Table 2. Basic Information of Farmland Operations.
Farmland IDOperation
Area (hm2)
Coordinate X (km)Coordinate Y (km)Operation TaskTime Window
(h)
133.231782, 3, 4[3, 20]
228.711792, 3[6, 18]
325.879443, 4[5, 21]
429.232652, 4[15, 35]
543.333412, 3, 4[13, 35]
616.752562, 3, 4[3, 18]
731.543443, 4[10, 30]
819.266352, 3, 4[8, 30]
924.027312, 3, 4[6, 45]
1028.245622, 3, 4[12, 40]
Table 3. Available Agricultural Machinery Information.
Table 3. Available Agricultural Machinery Information.
IDTypeEfficiency (hm2/h)Speed
(km/h)
Relocation Cost (¥/h)Operational Cost (¥/h)
1Rotary Tiller6.11365105
2Rotary Tiller6.51571112
3Rice Transplanter9.31659119
4Rice Transplanter10.21766125
5Weeder6.51470108
6Weeder7.31673112
7Sprayer5.11266169
8Sprayer5.81373160
9Transport Vehicle8.91855102
10Transport Vehicle8.11964109
Table 4. Scheduling results of the AGA-ACO algorithm.
Table 4. Scheduling results of the AGA-ACO algorithm.
Machinery IDScheduling Time (h)Scheduling Cost (¥)Operation Route 1
315.882326.642→8→10→4
416.462302.051→9→7→5
518.912068.893→2→7
633.303948.081→6→9→8→10→5
735.235138.181→9→7→10
832.725674.006→3→8→5→4
Total152.4921,458.83
1 Operation route indicates the sequence of farmland plots visited by each machinery.
Table 5. Performance Comparison Across Different Problem Scales.
Table 5. Performance Comparison Across Different Problem Scales.
AlgorithmFarmland PlotsTasksTime (h)Cost (¥)Iterations
AGA-ACO1538216.2435,766.41 ± 132647 ± 1.86
2050284.4752,214.63 ± 184553 ± 2.35
3068412.1868,694.24 ± 214661 ± 2.88
GA1538235.4140,125.67 ± 231866 ± 2.56
2050288.4956,654.32 ± 267270 ± 3.56
3068432.2573,024.63 ± 263465 ± 3.77
ACO1538223.5938,764.37 ± 188567 ± 2.47
2050296.4755,234.73 ± 241866 ± 3.12
3068421.2474,325.61 ± 287268 ± 3.21
PSO1538226.3639,524.26 ± 161741 ± 3.18
2050297.3457,256.32 ± 262352 ± 3.58
3068433.5673,265.36 ± 301264 ± 3.49
Table 6. Progressive component impact across problem scales.
Table 6. Progressive component impact across problem scales.
Algorithm15 Farmlands20 Farmlands30 Farmlands
CostIterGap (%) 1CostIterGap (%)CostIterGap (%)
GA-Base40,126 ± 231866+12.256,654 ± 267270+8.573,025 ± 263465+6.3
AGA36,890 ± 152052+3.153,850 ± 192359+3.171,187 ± 256658+3.6
GA-ACO37,315 ± 195058+4.354,180 ± 234162+3.870,220 ± 287967+2.2
AGA-ACO35,766 ± 1326470.052,215 ± 1845530.068,694 ± 2146610.0
1 Gap denotes the mean cost increase relative to AGA-ACO; positive values indicate additional expense.
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

Dai, L.; Jin, Z.; Zhao, X.; Du, X.; Ma, Z. Adaptive Genetic Algorithm Integrated with Ant Colony Optimization for Multi-Task Agricultural Machinery Scheduling. Agriculture 2025, 15, 2319. https://doi.org/10.3390/agriculture15222319

AMA Style

Dai L, Jin Z, Zhao X, Du X, Ma Z. Adaptive Genetic Algorithm Integrated with Ant Colony Optimization for Multi-Task Agricultural Machinery Scheduling. Agriculture. 2025; 15(22):2319. https://doi.org/10.3390/agriculture15222319

Chicago/Turabian Style

Dai, Li, Zhikai Jin, Xiong Zhao, Xiaoqiang Du, and Zenghong Ma. 2025. "Adaptive Genetic Algorithm Integrated with Ant Colony Optimization for Multi-Task Agricultural Machinery Scheduling" Agriculture 15, no. 22: 2319. https://doi.org/10.3390/agriculture15222319

APA Style

Dai, L., Jin, Z., Zhao, X., Du, X., & Ma, Z. (2025). Adaptive Genetic Algorithm Integrated with Ant Colony Optimization for Multi-Task Agricultural Machinery Scheduling. Agriculture, 15(22), 2319. https://doi.org/10.3390/agriculture15222319

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