This paper presents an enhanced Particle Swarm Optimization (PSO) technique for addressing the Economic Order Quantity (EOQ) problem with deteriorating items and shortages. It discusses mathematical modeling of inventory systems and compares the performance of the enhanced PSO against standard PSO. The enhanced PSO improves convergence speed and accuracy in optimizing inventory management over traditional methods.