Demand and Capacity Balancing Technology Based on Multi-agent Reinforcement Learning