简体   繁体   English

如何使用 PULP 导出单纯形表格

[英]How to export simplex tabular using PULP

I want to solve a linear programming problem with python. Currently, I am using PULP.我想用 python 解决线性规划问题。目前,我正在使用 PULP。 If I choose 'primalsimplex' method, is there any way for me to print the final simplex tabular?如果我选择“primalsimplex”方法,有什么办法可以打印最终的单纯形表格吗?

No. First of all, PuLP is not a solver.不。首先,PuLP 不是求解器。 It is a modeling tool, that is a front-end for a solver.它是一种建模工具,是求解器的前端。 Having said that, all practical LP solvers don't work with tableaux.话虽如此,所有实用的 LP 求解器都不适用于画面。 They all use versions of the revised Simplex method.他们都使用修改后的单纯形法的版本。 They have no tableaux and thus will never export them.他们没有画面,因此永远不会出口。 Actually, they don't even allow exporting the basis inverse, because practical SImplex methods don't work directly with a basis inverse.实际上,它们甚至不允许导出反基,因为实际的 SImplex 方法不能直接使用反基。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM