Examples for 'nloptr::isres'


Improved Stochastic Ranking Evolution Strategy

Aliases: isres

Keywords:

### ** Examples


### Rosenbrock Banana objective function
fn <- function(x)
    return( 100 * (x[2] - x[1] * x[1])^2 + (1 - x[1])^2 )

x0 <- c( -1.2, 1 )
lb <- c( -3, -3 )
ub <- c(  3,  3 )

isres(x0 = x0, fn = fn, lower = lb, upper = ub)
$par
[1] 1.000258 1.000515

$value
[1] 6.705685e-08

$iter
[1] 10000

$convergence
[1] 5

$message
[1] "NLOPT_MAXEVAL_REACHED: Optimization stopped because maxeval (above) was reached."

[Package nloptr version 2.0.3 Index]