首页> 外文期刊>Mathematical Programming Computation: A Publication of the Mathematical Programming Society >Customizing the solution process of COIN-OR’s linear solvers with Python
【24h】

Customizing the solution process of COIN-OR’s linear solvers with Python

机译:使用Python自定义COIN-OR线性求解器的求解过程

获取原文
获取原文并翻译 | 示例
           

摘要

Implementations of the simplex method differ mostly in specific aspects such as the pivot rule. Similarly, most relaxation methods for mixed-integer programming differ mostly in the type of cuts and the exploration of the search tree. We provide a scripting mechanism to easily implement and experiment with primal and dual pivot rules for the simplex method, by building upon COIN-OR’s open-source linear programming package CLP, without explicitly interacting with the underlying C++ layers of CLP. In the same manner, users can customize the solution process of mixed-integer linear programs using the CBC and CGL COIN-OR packages by coding branch-and-cut strategies and cut generators in Python. The Cython programming language ensures communication between Python and C++ libraries and activates user-defined customizations as callbacks. Our goal is to emphasize the ease of development in Python while maintaining acceptable performance. The resulting software, named CyLP, has become a part ofCOIN-OR and is available under open-source terms. For illustration, we provide an implementation of the positive edge rule—a recently proposed rule that is particularly efficient on degenerate problems—and demonstrate how to customize branch-and-cut node selection in the solution of a mixed-integer program.
机译:单纯形法的实现方式在特定方面(例如枢纽规则)的大部分不同。类似地,大多数用于混合整数编程的松弛方法在切割类型和搜索树的探索方面大都不同。我们提供了一种脚本编制机制,可通过在COIN-OR的开源线性编程包CLP的基础上轻松实现单纯形方法的原始和双重枢纽规则,并进行试验,而无需与CLP的基础C ++层进行交互。以同样的方式,用户可以使用CBC和CGL COIN-OR包通过在Python中编写分支剪切策略和剪切生成器来定制混合整数线性程序的求解过程。 Cython编程语言可确保Python和C ++库之间的通信,并激活用户定义的自定义作为回调。我们的目标是在保持可接受的性能的同时,强调Python的易于开发性。产生的名为CyLP的软件已成为COIN-OR的一部分,并可以在开源条款下使用。为了说明起见,我们提供了上升沿规则(最近提出的规则,对退化问题特别有效)的实现,并演示了如何在混合整数程序的解决方案中自定义分支剪切节点的选择。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号