Algorithms for network resource allocation under adversarial dynamics and assignment constraints