replaced glpk by cplex to solve the linear programs.