In this paper, we establish the optimal control model on dynamic input-output problem, andchange the optimal control problem into dynamic linear programming problem. By using the method of dynamic programming, we can slove the optimal control pronlem.