Optimal strategies for impulse control of piecewise deterministic Markov processes. (March 2017)