Optimization of crop planting strategies: an integrated scheme of linear programming and intelligent optimization algorithms

Yu Wang, Dong Yin, Zeyuan Du, Xiaoqin ZengHighlights 2025

Abstract

To address the challenge of developing optimal planting strategies for multiple crops under the constraints of diverse greenhouse conditions and various types of cultivated land, a crop planting strategy based on intelligent optimization algorithms is proposed. First, assuming stable crop production and sales across years, a linear programming model is formulated to account for diversified planting risks. Uncertainty factors are incorporated into the decision-making process through interpolation techniques, with the dual objectives of maximizing net income and minimizing overproduction losses. Optimization and solution of the model are achieved using a combination of a greedy algorithm and a genetic algorithm, enhanced by the Pearson correlation coefficient. Sensitivity analysis is conducted to effectively evaluate the robustness and adaptability of the proposed planting strategy under different scenarios. Furthermore, the scope of the study is extended to scenarios involving year-on-year increases in crop sales, with additional considerations given to crop uncertainty and planting risks.

Introduction

Optimizing agricultural production is a complex "knapsack-style" problem where farmers must allocate limited resources—diverse land types, labor, and capital—across various crop options. Modern agriculture requires navigating a maze of constraints, including soil health requirements (such as legume rotation), fluctuating market prices, and varying yields across different environments like open fields and high-tech greenhouses.

A critical challenge is the "overproduction trap": planting excessive amounts of high-value crops can saturate local markets, leading to waste or significant price drops. This research addresses these dynamics by proposing a hybrid optimization framework that scales to the thousands of variables present in modern multi-plot agricultural enterprises.

Methodology

The proposed integrated scheme blends traditional mathematical modeling with intelligent heuristics to find global optima in a massive search space.

  • Linear Programming (LP): Serves as the model's backbone, defining the objective of maximizing net profit while adhering to hard constraints like total acreage and minimum rotation requirements.
  • Genetic Algorithm (GA): Used to navigate the complex search space. By mimicking natural selection, the GA evolves a population of planting plans through crossover and mutation.
  • Greedy Algorithm: Employed for local optimization, facilitating quick, iterative decisions that support the broader GA search.
  • Uncertainty Modeling: Recursive formulas account for year-over-year fluctuations in yield, costs, and prices. The model specifically evaluates two surplus scenarios: "unsold waste" (total loss of surplus) and "discounted sales" (surplus sold at a 50% markdown).

Key Insights and Ideas

The model was validated using 2023 statistical data from rural mountainous areas in North China, covering 1,200 acres of diverse land and 20 vegetable greenhouses.

  • Crop Dominance: Sweet potatoes emerged as the most profitable primary crop for flat and arid land. The model suggests that focusing on such high-yield, high-margin crops significantly boosts efficiency when rotation constraints are respected.
  • Greenhouse Optimization: Analysis indicated that traditional staples like tomatoes were underperforming. The model recommended a shift toward eggplants and green peppers to maximize the utility of high-cost "smart" greenhouses.
  • Convergence Efficiency: The hybrid GA approach demonstrated steady and reliable convergence. Starting from an initial objective value of approximately 3.1 million RMB, the algorithm successfully reached a global optimum of roughly 6.8 million RMB.
Convergence of the genetic algorithm over 5,000 iterations.

Key Results

The optimized strategy nearly doubled the predicted profit compared to baseline iterations, reaching a peak of 6.844e+06 RMB. Beyond aggregate profit, the model provided granular, actionable planting instructions for specific plots.

Detailed crop allocation strategy for specific land parcels.

For instance, in terraced fields, the model identified a specific mix of millet and climbing beans across designated plots (e.g., B1, B7, B9) to balance soil health with income. Furthermore, the model proved resilient to market volatility; even under a 50% price reduction scenario for surplus, it identified a robust subset of crops that maintained viable margins.

Conclusion and Future Work

While the current framework is robust, future enhancements could include more sophisticated price elasticity coefficients to better reflect market volatility. Additionally, exploring "crop complementarity"—the biological or economic benefits of growing certain crops in proximity—and integrating real-time climate data would further refine the strategy's reliability and precision.

Summary updated

BibTeX
@inproceedings{wang2025optimization,
  author = {Yu Wang and Dong Yin and Zeyuan Du and Xiaoqin Zeng},
  title = {{Optimization of crop planting strategies: an integrated scheme of linear programming and intelligent optimization algorithms}},
  booktitle = {Highlights},
  year = {2025},
  doi = {10.54097/w7g93616},
}
Figure