Improved cplex interface