The learned control of complex dynamic systems