Research on Crop Planting Scheme Based on PSO-BP Neural Network

Xuyao Qian, Xin Li, Yutian ZhangHighlights 2025 · DOI

TL;DR

This paper proposes a hybrid optimization framework for agricultural planning that combines Particle Swarm Optimization (PSO) with Backpropagation (BP) neural networks. By modeling complex constraints like crop rotation laws and market "unsalability," the authors demonstrate a path to maximizing agricultural profits, projecting a peak profit of nearly 5 million yuan by 2030.

What Problem Does This Paper Address?

Modern agriculture faces a multi-dimensional puzzle: how do you maximize profit while dealing with limited arable land, fluctuating soil nutrients, and market uncertainties? Traditional planting schemes often fail to account for the "output gap"—the difference between what is produced and what the market can actually absorb.

The authors tackle the challenge of creating a sustainable, high-yield planting strategy that respects biological constraints (like the need for crop rotation to maintain soil health) and economic realities (like the diminishing returns of overproduction).

Methods

The researchers employed a two-pronged mathematical approach:

  1. Multi-Objective Linear Programming: They established a model to minimize costs and maximize sales. Crucially, they introduced two "conditions" for the output gap: one where excess crops are simply unsalable, and another where they are sold at a 50% discount.
  2. PSO-BP Neural Network: Standard BP neural networks often get stuck in "local minima" (sub-optimal solutions). To fix this, the authors used Particle Swarm Optimization (PSO)—an algorithm inspired by bird flocking—to find the ideal initial weights and thresholds for the neural network. This "hybrid" approach ensures the model converges faster and more accurately.
  3. Simulated Annealing (SA): For the second phase of optimization, they used SA to navigate the complex search space of expected sales and planting costs, reaching a stable solution in just 35 iterations.

Datasets

The paper utilizes a specific dataset from 2023 (likely sourced from a regional agricultural study or a mathematical modeling competition) to predict and optimize strategies for the 2024–2030 period. While the specific origin of the raw data isn't named as a public benchmark, it includes variables for:

  • Crop yield and planting area.
  • Sales prices and planting costs.
  • Specific crop categories: grains, legumes, vegetables, and edible fungi.

Key Insights and Ideas

  • Biological Constraints as Math: The model successfully translates agricultural "laws" into inequalities. For example, it mandates that legumes must be planted at least once every three years in any given plot to ensure nitrogen fixation and soil health.
  • The "Unsalable" Factor: Unlike simpler models that assume every kilogram produced is sold at market price, this model incorporates a penalty for overproduction, reflecting realistic market saturation.
  • Hybridization for Stability: The integration of PSO into the BP network allowed the model to reach zero error in as few as 19 iterations. This suggests that "meta-heuristic" algorithms (like PSO) are excellent partners for traditional deep learning in resource-constrained optimization tasks.

Key Results

  • Profit Growth: The PSO-BP model projected a maximum profit of 3,561,194.9 yuan by 2030.
  • Optimization Superiority: When using the Simulated Annealing approach for the second model, the projected maximum profit jumped even higher to 4,985,602.86 yuan in 2030.
  • Convergence: The neural network demonstrated high stability, with errors reaching zero after 19 iterations for "Condition 1" and 27 iterations for "Condition 2."
  • Consistency: Despite market fluctuations, the model suggested that planting areas remain relatively stable, providing a reliable roadmap for farmers.

Limitations and Future Work

The authors acknowledge that while the model is robust, it relies heavily on the quality of the initial input data (the 2023 baseline).

Future directions include: * Climate Integration: Incorporating real-time climate change variables and extreme weather event modeling to further "harden" the planting schemes. * Environmental Impact: Moving beyond pure profit to include environmental impact assessments (like carbon sequestration or water usage) directly into the objective function. * Real-time DSS: Developing these models into a live Decision Support System (DSS) that farmers can use via mobile apps to adjust strategies mid-season.

Summary updated

Abstract

This study explores agricultural optimization through two main questions. First, a PSO-BP neural network model was used to derive an optimal planting strategy for profit maximization and cost minimization. The model incorporated yield gap, planting area, and planting practices constraints, resulting in stable, low errors, with a maximum profit of 3,561,194.9 yuan in 2030. For the second question, an optimization model was developed considering expected sales, crop yield, planting cost, sales price, and non-negativity constraints. The model was solved using the simulated annealing algorithm, achieving stability after 35 iterations. The maximum profit reached 4,985,602.86 yuan in 2030, with a minimum of 3,913,304.33 yuan in 2023. This study provides insights into optimizing agricultural production for improved profitability.
BibTeX
@inproceedings{qian2025research,
  author = {Xuyao Qian and Xin Li and Yutian Zhang},
  title = {{Research on Crop Planting Scheme Based on PSO-BP Neural Network}},
  booktitle = {Highlights},
  year = {2025},
  doi = {10.54097/ejg8pr55},
}
Figure