Scheduling multiproduct pipeline networks with time discretizations