Classical and singular stochastic control for the optimal dividend policy when there is regime switching / Luz R. Sotomayor, Abel Cadenillas