Constrained Task Assignment and Scheduling on Networks of Arbitrary Topology.