BackgroundTo meet the needs of diversified pension services and the construction of aged care institutions is one of the urgent livelihood issues in China. Under the major national needs of pension and care for the elderly, it is necessary to optimize the allocation of pension and care for the elderly resources, and formulate operational coping strategies and optimization plans. It is of great significance to deal with the urgent problem of population aging in a timely and scientific way.MethodsThe economic benefits and social costs of aged care institutions are regarded as objective functions. To satisfy the economic benefits, it is necessary to reduce the social costs, and its construction quantity can only be an integer. The multi-objective genetic algorithm is improved with integer programming, and the global optimal solution is achieved after several times of searching. Under the multi-objective optimization model, the improved genetic algorithm was combined with the superior and inferior solution distance method to solve the genetic algorithm, and the corresponding objective function value was obtained after rounding. Finally, Pareto optimal solution set is selected by multi-objective decision, and the result of construction planning is obtained.ResultsBased on multi-attribute decision analysis and taking three years as the construction cycle, the planning scheme of aged care institutions construction in each district of Nanjing in the next 15 years was proposed. In addition, considering the intelligent trend of future pension, the proportion of home-based pension is increasing year by year, and the model is promoted to meet the needs of diversified pension services. With the gradual increase of the elderly population in Nanjing, the proportion of intelligent home-based care has been increasing year by year since 2027, and the construction demand of aged care institutions has also increased. The number of construction at all levels rises gradually in each cycle, and the increase is more obvious after 2027.ConclusionsThe layout and planning of aged care institutions proposed in this paper not only considers economic and environmental benefits, but also combines the current situation of aged care institutions in various districts of Nanjing. The model is reasonable and effective, and has practical application value. It will help China optimize the allocation of elderly care resources under the target of active aging, and scientifically and comprehensively deal with the problem of population aging.