update for new MathProgBase API