Text this: Optimal control of discrete systems /