如果求解器本身提供热启动选项,PuLP 只能提供热启动。因此,您应该首先查看 MIPCL 文档,看看这是否是 MIPCL (http://www.mipcl-cpp.appspot.com/) 提供的功能。不幸的是,该网站已经关闭了一段时间。
PuLP 使用 MIPCL 的命令行界面,我怀疑,至少在这个界面中,它不提供“热启动”选项。命令行的参数如下:
C:\Users\pchtsp>mps_mipcl
Usage: mps_pMIPCL/mps_MIPCL [options] filename.mps[.gz]
-solfile {file name for storing solution} -threads {number of thread}
-time {time in seconds}
-gap {duality gap in percents}
-objBound {lover or upper bound on the objective}
-LPmethod {PRIME, DUAL}
-pricingRule {DANCIG,STEEPEST,PARTIAL}
-sepRule {DANCIG,STEEPEST,PARTIAL}
-preprocess {0,1}
-cuts l,h (l,h in {-1,0,1,...} are #cuts for, resp., low and high nodes)
-click {cut pattern}
-knapsack {cut pattern}
-gomory {cut pattern}
-mod2 {cut pattern}
-mir {cut pattern}
file_name
----------------------------------------------------------------
cut pattern depth1,mod1,depth2,mod2 where depth1,depth2 in {-1,0,1,2,...
这并不意味着 MIPCL 不通过其他接口(例如 python 接口)提供“热启动”选项。