Seol mar théacs é seo: Numerical methods of simulation and optimization of piecewise deterministic Markov processes :