由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - lp_solve 求救! divide by zero error :-(
相关主题
MINOS linear programming (转载)求solver
Linear Programming (LP) Solver被script programming 问题难住了
convex programming有啥好的solver吗?问一个有关用LIBSVM 做text classification 的问题
[转载] Matlab算LP最多支持多少变量?Need Help on Facility Location problem
请问有人用过cholmod solver吗?[转载] 有人明白Max-Plus Linear吗?
有人知道免费的min cost network flow solver么?Absolute equantions in Linear Programming??
matlab里面的bintprog能处理到多大规模的integer programming[转载] 有什么好的free的software算LP?
求solverquestions about a NP-hard problem
相关话题的讨论汇总
话题: solver话题: solve话题: lp话题: divide话题: zero
进入CS版参与讨论
1 (共1页)
p*********n
发帖数: 85
1
请教各位大拿:我在使用 lp_solve 的时候, 老是碰到如下的错误:
Divide by zero
failure inverting
我猜测可能是系数太小或太大, 以至于numeric error, 可事实上, 不管
我怎莫放大缩小constraint 两边, 还是出现如上的错误。在此请教各位
大拿指点一二。 另外, 不知还有没有其他的免费的 linear solver (可以在
Linux 下编译的, 因我的程序要多次调用linear solver). 多谢!
c******n
发帖数: 4965
2
it's not the absolute value of your coeff,
it's that some intermediate value is 0,
such as the det of your coeff matrix ..... etc,
try change the coeff a bit

【在 p*********n 的大作中提到】
: 请教各位大拿:我在使用 lp_solve 的时候, 老是碰到如下的错误:
: Divide by zero
: failure inverting
: 我猜测可能是系数太小或太大, 以至于numeric error, 可事实上, 不管
: 我怎莫放大缩小constraint 两边, 还是出现如上的错误。在此请教各位
: 大拿指点一二。 另外, 不知还有没有其他的免费的 linear solver (可以在
: Linux 下编译的, 因我的程序要多次调用linear solver). 多谢!

b****x
发帖数: 1
3
I'm now using linear solver called MOSEK. It's a commercial lp solver, but it
gives out student license for free. You can apply on-line. www.mosek.com
I think it's well maintained, and the performance is better than lp_solver in
most cases. It can be installed in Linux. As long as you don't need to solve
integer programming problem, student license isn't much different from
commercial license. Hope it helps.

【在 p*********n 的大作中提到】
: 请教各位大拿:我在使用 lp_solve 的时候, 老是碰到如下的错误:
: Divide by zero
: failure inverting
: 我猜测可能是系数太小或太大, 以至于numeric error, 可事实上, 不管
: 我怎莫放大缩小constraint 两边, 还是出现如上的错误。在此请教各位
: 大拿指点一二。 另外, 不知还有没有其他的免费的 linear solver (可以在
: Linux 下编译的, 因我的程序要多次调用linear solver). 多谢!

1 (共1页)
进入CS版参与讨论
相关主题
questions about a NP-hard problem请问有人用过cholmod solver吗?
lineariation problem....help, please有人知道免费的min cost network flow solver么?
如何在latex下写pseudocode?matlab里面的bintprog能处理到多大规模的integer programming
求教 优化算法 迫切等待。多谢求solver
MINOS linear programming (转载)求solver
Linear Programming (LP) Solver被script programming 问题难住了
convex programming有啥好的solver吗?问一个有关用LIBSVM 做text classification 的问题
[转载] Matlab算LP最多支持多少变量?Need Help on Facility Location problem
相关话题的讨论汇总
话题: solver话题: solve话题: lp话题: divide话题: zero