Select low-income consumption index, production index, trade index, and greenhouse gas emissions as the standard level, sustainability, profitability, efficiency, and equ ity as the executive level, and determine the target level based on surveys and expert suggestions. The standard level and the executive level have relative indicators Proportion, construct the analytic hierarchy process model, optimize the food system by changing the relative ratio between the indicators of the executive level. After the optimization, the system pays more attention to sustainable development and equity, and it is solved by matlab. In contrast with the system before optimization, the optimized food system is not only for profit, but also for sustainable development and equity issues, so that the food development is optimized in the direction of optimization.