Optimal control for dynamic bandwidth allocation in communication networks: a neural approach