Using solutionpool parameter with BestObjStop
AnsweredHello, i am using solutionpool parameter in my model but i also have to use BestObjStop parameter for my study because i somehow know the best optimal value for the problem. I am trying to find alternative solutions on the BestObjStop paremeter value.
However when i use BestObjStop parameter, solver can't find solutionpool, i set PoolSearchMode parameter to 1 then 2, and solutionpool to 100 it didn't work, solver immediately stopped when it reached to BestObjStop value and didn't find any solutionpool. I know that there are many alternative solutions but the solver immediately stop. My paremeter settings;
params.PoolSearchMode=2 or 1
params.PoolGapAbs=0.5 because i just want to find optimum alternative solutions
params.PoolSolutions=100
Colud you help me please about this matter?
-
If you set BestObjStop, the solution process is stopped as soon as a feasible solution whose objective value is at least as good as the specified value is found. So with this parameter setting, it is not possible to search for other solutions with the same value.
If you want to find up to 100 alternative optimal solutions, you need to set PoolSearchMode=2, PoolSolutions=100, PoolGap=0, and leave the BestObjStop parameter at its default value.
0
Please sign in to leave a comment.
Comments
1 comment