问题
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