Originally posted by: ORA17
Step 1:
I am solving a mixed integer programming problem with N variables and M constraints. And I want to select K best integer variable that gives maximum objective value.
I am using param: cplex.SetParam(Cplex.IntParam.RootAlg, 4)
Step 2:
I am solving same problem (i.e. with same set of constraints) but with K variables (K <= N) which is subset of N variables and output of Step 1 but getting different (mostly higher) objective value.
I am using param: cplex.SetParam(Cplex.IntParam.RootAlg, 4)
But If I remove cplex.SetParam(Cplex.IntParam.RootAlg, 4) from both I get same objective value in both of my problems.
please note that this issue I face rarely not always.
Could you please help me to check why I am facing this kind of issues?
#CPLEXOptimizers#DecisionOptimization