Before revision:  With the common knowledge assumption, the paper proposes a generic model combining optimal control and optimal switching to study the static equilibrium and dynamic equilibrium of resource allocations under a given industrial structureand the equilibrium when the condition for transforming industrial structures arises by a social planner to maximize the representative household's utility in a market economy .
After revision:  With the common knowledge assumption, the paper studies a Ramsey growth model with endogenous structural transformation in which the social planner chooses the optimal industrial structure, recource allocation with the chosen structure, and consumption to maximize the representative household's utility in a market economy .