Trajectory planning for an autonomous vehicle with conflicting moving objects along a fixed path - an exact solution method