Originally posted by: EdKlotz
>
> Hi,
>
> thanks a Paul and EdKlotz. I don’t understand the option of Paul very well. I’ll see it with calm.
> EdKlotz, the problem of your option is that restarting the optimization from scratch suppose a root relaxation (important computational time) while that it isn’t necessary because the better lower bound is when x6-x10 are relaxed (is to say, the problem P1).
Yes, I understand that the approach I proposed no longer provides you the lower
bound you obtained when solving P1. But, with the variable fixings you do,
the lower bound you obtain at the root node solve of P2 may be better. So,
I still recommend you compare the two tree approach I described with any
single tree approach you devise.
> Now, I am doing the following:
> I built the P1 problem with x1-x5 as binary variables and x6-x10 relaxed. I solve this problem and I have a LB. After, I modify the P1 problem fixing the values of x1-x5 with xi.setLB() or xi.setUB() and un-relaxing the x6-x10 variables (object IloConversion…). I call to this problem as P2. When I solve P2, it does a relaxation…but I don’t want to do it because the LB is the value of P1. I think that I could avoid it. In fact, the P2 could continue from the last node solved in P1….
OK, so let's suppose the lower bound you got from P1 is tighter than the one
you get from solving the root node relaxation associated with P2. Using a
cut callback, you could add a cut that the objective function is >= the lower
bound obtained from P1 (assuming you are minimizing). So, you can obtain
the benefit of the lower bound of P1 if it is tighter. However, we have
seen some cases where adding constraints involving the objective function
worsens CPLEX's performance because it makes the pseudo costs CPLEX typically
calculates to select the branching variable less informative. Nonetheless,
particularly if you set priorities per Paul's suggestion, you may not
have this problem in your case. And regardless, it's worth a try.
Ed
>
> thanks a lot!!
#CPLEXOptimizers#DecisionOptimization