Displaying 2 results from an estimated 2 matches for "2665511".
Did you mean:
2665,11
2019 Jan 31
1
nlminb with constraints failing on some platforms
...as available
5th Year FPM (Ph.D.) in Finance and Accounting Area
Indian Institute of Management, Lucknow, (U.P.) 226013 India
http://bit.ly/2A2PhD
AEA Job profile : http://bit.ly/AEAamit
FMA 2 page profile : http://bit.ly/FMApdf2p
SSRN top10% downloaded since July 2017: http://ssrn.com/author=2665511
________________________________________________________________________
On Thu, Jan 31, 2019 at 7:22 PM ProfJCNash <profjcnash at gmail.com> wrote:
> This is not about the failure on some platforms, which is an important
> issue. However, what is below may provide a temporary workar...
2019 Jan 28
8
nlminb with constraints failing on some platforms
I've noticed unstable behavior of nlminb on some Linux systems. The problem can be reproduced by compiling R-3.5.2 using gcc-8.2 and running the following snippet:
f <- function(x) sum( log(diff(x)^2+.01) + (x[1]-1)^2 )
opt <- nlminb(rep(0, 10), f, lower=-1, upper=3)
xhat <- rep(1, 10)
abs( opt$objective - f(xhat) ) < 1e-4 ## Must be TRUE
The example works perfectly when