def Departure_Time(model,I): if I==0: return (model.Dept_Time_P[I] == Tar_Dept_Date) elif value(model.A[I] - floor(model.A[I]) + model.Cargo1[I]) < value(model.Work_end_t