Efficient scheduling of astronomical observations. Application to the CARMENES radial-velocity survey | Publicación