A semi-analytical model for the propagation of a relativistic jet in a magnetized medium | Synapse