Method using CPLEX implemented