To address the problem of inefficient allocation of cargo space in the rear warehouse of the current army,a hybrid solution model of particle swarm optimization(PSO)algorithm and genetic algo-rithm(GA)is established.Simulation analysis shows that the hybrid algorithm has certain advantages compared with the traditional PSO and GA algorithms,which can effectively improve the efficiency of warehouse operation and shelf stability.It has certain theoretical value and practical significance for the research of location allocation in the rear warehouse.