Text this: Mathematical optimization and economic analysis