LimSolve中的错误?

时间:2012-01-06 19:27:41

标签: optimization xdebug mathematical-optimization

我相信我在LimSolve包中发现了一个错误。运行下面的代码时,该过程导致我的R应用程序(64位Windows; R版本2.13.1(2011-07-08))崩溃而没有警告或错误。重现错误的代码如下:

所需的130 kb .rda文件是here

load( "limSolveTest.rda" )

library( lpSolve )

optimResultlpSolve = lp( direction = "min" , 
                         objective.in = g_ ,
                         const.mat = Aeq_ ,
                         const.dir = rep( "=" , nrow( Aeq_ ) ) ,
                         const.rhs = beq_ ,
                         transpose.constraints = FALSE
                         ) # Function should raise an error

# Passes if transpose.constraints = TRUE

0 个答案:

没有答案