Originally posted by: anutunab
Hi,
I am solving consecutive models (not an only single model) where I am adding binary variables and constraints at each step. For each single model, I am keeping the optimal status. I have realized that when I decreased the gap values, then the solution to the models with optimal status 101 is changed. The parameter settings I use in MIP model with binary variables:
status = CPXsetdblparam (env, CPX_PARAM_EPGAP, 1e-09);
status = CPXsetdblparam (env, CPX_PARAM_EPAGAP, 1e-09);
status = CPXsetdblparam (env, CPX_PARAM_EPINT, 0);
status = CPXsetdblparam (env, CPX_PARAM_EPRHS, 1e-09);
status = CPXsetdblparam (env, CPX_PARAM_EPOPT, 1e-09);
status = CPXsetintparam (env, CPX_PARAM_PARALLELMODE, -1);
status = CPXsetintparam (env, CPX_PARAM_THREADS, 0);
status = CPXsetintparam (env, CPX_PARAM_NODEFILEIND,2);
status = CPXsetstrparam(env, CPX_PARAM_WORKDIR,".");
#CPLEXOptimizers#DecisionOptimization