Getting intermediate info. from PuLP

岁酱吖の 提交于 2020-01-14 06:14:07

问题


Getting intermediate result, while PuLP is trying to find the optimal and feasible solution.

As you know, solving Mixed integer Linear programming (MILP) cases may take a long time. I'm trying to get intermediate results from PuLP optimization package, while it is running. I know it is possible to do that in Gurobi, which is a commercial optimization package.

I'm not sure about the code I can use in PuLP package to get that information. Any advice would be appreciated.


回答1:


Pulp doesn't really have this interface (though if you use gurobi you can access the underlying solver object).



来源:https://stackoverflow.com/questions/57289142/getting-intermediate-info-from-pulp

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