mathematical programming computation