To remove the issue of memory leak in creating cplex models