Loosely matching rhymes for linear program