Text this: Cooperative control and optimization