deadline constrained flow scheduling algorithms