Displaying 2 results from an estimated 2 matches for "dslnex".
Did you mean:
dsldev
2017 Jun 12
2
Possible with enableJIT function
...has experienced continuously increasing memory usage
by package nleqslv leading to an out of memory condition.
I have been able to reproduce the continuously increasing memory usage with the following small example.
<code>
library(nleqslv,lib.loc="../nleqslv.Rcheck")
library(pryr)
dslnex <- function(x) {
y <- numeric(2)
y[1] <- x[1]^2 + x[2]^2 - 2
y[2] <- exp(x[1]-1) + x[2]^3 - 2
y
}
xstart <- c(x1=1.5,x2=2)
nsims <- 10
for(test_iter in seq_len(nsims)){
z <- nleqslv(xstart,dslnex,jacobian=NULL)
print(paste("nleqslv iteration",t...
2017 Jun 13
0
Possible with enableJIT function
...g memory usage
> by package nleqslv leading to an out of memory condition.
>
> I have been able to reproduce the continuously increasing memory usage with the following small example.
>
> <code>
> library(nleqslv,lib.loc="../nleqslv.Rcheck")
> library(pryr)
> dslnex <- function(x) {
> y <- numeric(2)
> y[1] <- x[1]^2 + x[2]^2 - 2
> y[2] <- exp(x[1]-1) + x[2]^3 - 2
> y
> }
> xstart <- c(x1=1.5,x2=2)
> nsims <- 10
> for(test_iter in seq_len(nsims)){
> z <- nleqslv(xstart,dslnex,jacobian=NULL)
>...