Originally posted by: BiceK
Dear all,
I have modeled a stochastic MIP using two stage stochastic programming (with binary and integer first stage decisions) and trying to solve it using L-Shaped Method. Because it is generating worse solutions than extensive form solution for some datasets(and for the rest it gives the same solution with extensive form solution), I have started to investigate the reason behind this and decided to experiment with cplex parameters of EpInt, EpGap, EpAGap and EpRHS.
While experimenting, I have realized some problems that I could not understand:
First problem is about EpGap and EpAGap. I was expecting that when both equals to zero EpAGap would force more than EpGap and lead to an optimal status. However, with only EpGap I can obtain "optimal " status but with only EpAGap I always get a worse solution and "OptimalTol" status and therefore I could not figure out why zero absolute gap is generating a worse solution than zero relative gap.
On the other hand, while using LazyConstraintCallBack for branch and cut, solving problem by setting EpInt to zero is generating a better solution than extensive form solution which should be impossible therefore, I am confused about the function of EpInt parameter. By the way, I am rounding all integer first stage variables(like from 0.00000000001 to 0) manually using Math.round in Java at each node.
All kinds of suggestions and inputs are welcome
Thanks in advance
#CPLEXOptimizers#DecisionOptimization