This paper analyzes the dynamic game model of optimizing the allocation of marketing resources, and investigates the status and trend of the marketing of an enterprise, and points out the significance of the subject in the marketing decision system of the enterprise, and establishes the expert decision-making system for the enterprise and forecasting systems to provide reliable data support. We select the programming environment and genetic algorithm toolbox as a software platform to learn and improve the tool functions used in the toolbox to meet the design requirements. From the analysis of the results of this paper, it is shown that the global search optimization performance of GA is fully demonstrated, and the reasonable design of the algorithm can make it well combined with the purpose of this paper.