[R] "Optimx Package" Error

nserdar snes1982 at hotmail.com
Wed Oct 10 10:12:28 CEST 2012


estimate<- optimx(init.par,Linn,gr=NULL,method= "L-BFGS-B", hessian=TRUE,
control =
list(trace=1),lower=c(0,0,0,-Inf,-Inf,-Inf,-Inf,-Inf,-Inf,-Inf),upper=c(1,1,1,Inf,Inf,Inf,Inf,Inf,Inf,Inf))
fn is  Linn 
Function has  10  arguments
par[ 1 ]:  0   <? 0   <? 1     In Bounds           
par[ 2 ]:  0   <? 0   <? 1     In Bounds   In Bounds          
par[ 3 ]:  0   <? 0   <? 1     In Bounds   In Bounds   In Bounds         
par[ 4 ]:  -Inf   <? 1   <? Inf     In Bounds   In Bounds   In Bounds   In
Bounds        
par[ 5 ]:  -Inf   <? 1   <? Inf     In Bounds   In Bounds   In Bounds   In
Bounds   In Bounds       
par[ 6 ]:  -Inf   <? 1   <? Inf     In Bounds   In Bounds   In Bounds   In
Bounds   In Bounds   In Bounds      
par[ 7 ]:  -Inf   <? 1   <? Inf     In Bounds   In Bounds   In Bounds   In
Bounds   In Bounds   In Bounds   In Bounds     
par[ 8 ]:  -Inf   <? 1   <? Inf     In Bounds   In Bounds   In Bounds   In
Bounds   In Bounds   In Bounds   In Bounds   In Bounds    
par[ 9 ]:  -Inf   <? 1   <? Inf     In Bounds   In Bounds   In Bounds   In
Bounds   In Bounds   In Bounds   In Bounds   In Bounds   In Bounds   
par[ 10 ]:  -Inf   <? 1   <? Inf     In Bounds   In Bounds   In Bounds   In
Bounds   In Bounds   In Bounds   In Bounds   In Bounds   In Bounds   In
Bounds  
Error in optimx(init.par, Linn, gr = NULL, method = "L-BFGS-B", hessian =
TRUE,  : 
  Cannot evaluate function at initial parameters

Please let me know how to deal with this problem.

Regards,
Serdar



--
View this message in context: http://r.789695.n4.nabble.com/Optimx-Package-Error-tp4645669.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list