Microgrid, as a distributed power technology, has deep potential at present. This study deeply researches microgrid and electric vehicles. A grid-connectedmicrogrid power optimization management model is established, and an adaptive crossover multi particle swarm optimization (ACM-PSO) is proposed, which can adjust and operate individually. The proposed algorithm introduces individual adjustment operation and considers the start and stop state of the micro power supply. Besides, it does not need to decompose the unit commitment problem into two levels of optimization problems, which reduces the complexity of the optimization problem. A-PSO algorithm is prone to fall into local optimum. This problem can be avoided and its global search ability can be improved by introducing the crossover operation of ACM-PSO. According to the analysis of examples, the ACM-PSO algorithm has the best economic effect in different operation schemes among experimental methods.