Python中最快的LP库,具有复制功能

发布于 2025-01-26 14:21:36 字数 229 浏览 2 评论 0原文

我已经在纸浆中写了一个线性优化问题,它效果很好。但是解决时间很大,所以我尝试了另一个优化库Google-or google或X10 Time Fister,但有一个很大的问题,不允许DeepCopy问题(虽然纸浆确实如此),并且对我而言非常重要,因为我的优化问题是搜索过程,因此我必须在约束中更改一些值并一次又一次地解决问题(数百次)。因此,有比纸浆更快的Python库可以允许模型的副本?还是有一种方法可以在Google-or中复制LP问题?

i have written a linear optimization problem in PuLP and it works great.. but the solving time is huge, so i have tried another optimization library google-OR that is x10 time fister but has a big issue that doesn't allow to deepcopy the problem (while PuLP does) and for me is very important due to the fact that my optimization problem is a search procedure so i have to change some values in the constraints and solve the problem again and again (hundreds of time). So there is any python library faster than PuLP that allows the copy of the model? Or there is a way to copy an LP problem in google-OR?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文