SCHEDULING WITH CONTINUOUS FLOWS AND DISCRETE ASSIGNMENTS