Dynamic programming for a Markov-switching jump–diffusion · Study