Text this: Theory and mathematical programming