Finite horizon stochastic optimal switching and impulse controls with a viscosity solution approach · Study