Design of cooperative systems in complex dynamic environments