Aiming at the problem that the modeling and solving method of combined heat and power (CHP) unit variable load control process is challenging to meet the demand for efficient analysis of complex systems, this paper proposes a method based on sequential quadratic programming and interior point method (SQP-IPM) alternating solution for dynamic optimization of the CHP unit variable load process. Firstly, by constructing the CHP unit mechanism model, multi-variable coordination control constraints, and output variable process constraints, the dynamic optimization proposition of the CHP unit variable load control process is formed. Then, the large-scale nonlinear programming (NLP) problem formed by using the orthogonal configuration method to discrete the state and control variables is optimally solved using the IPM-SQP alternating solution method. Further, from the perspective of balancing the accuracy of the solution and computational efficiency, the flexible convergence depth control (CDC) strategy is introduced into the alternative solution method to improve the real-time performance of the algorithm. Finally, the variable load control process of 300MW extraction CHP unit is simulated to verify that the proposed method reduces the calculation time for 12 consecutive variable load scenarios by about 70%, effectively improving the real-time performance of scenario applications.