Cplex solution pool generates duplicate solutions

流过昼夜 提交于 2021-01-28 04:33:12

问题


I put this question on IBM forum, since nobody responded I am going to ask here. I have an MIP model written with docplex and a solution pool that populates a massive number of solutions. My problem is, when my solution pool finishes most of the solutions are duplicated. In 1000 solutions there are only 4 unique solutions. I don't understand how and why this happens. My solution pool settings is below:

    cpx = mdl.get_cplex()
    cpx.parameters.mip.pool.intensity.set(4)
    cpx.parameters.mip.pool.absgap.set(1e75)
    cpx.parameters.mip.pool.relgap.set(1e75)
    cpx.parameters.randomseed.set(3)
    cpx.parameters.mip.limits.populate.set(20000)

来源:https://stackoverflow.com/questions/64608122/cplex-solution-pool-generates-duplicate-solutions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!