powered by
nlminb2(start, objective, eqFun = NULL, leqFun = NULL, lower = -Inf, upper = Inf, gradient = NULL, hessian = NULL, control = list())
NULL
NULL (no less equal constraints).=>
-Inf
Inf
nlminb()
"scale"
## Equal constraint function eval_g0_eq <- function( x, params = c(1,1,-1)) { return( params[1]*x^2 + params[2]*x + params[3] ) } eval_f0 <- function( x, ... ) { return( 1 ) }
Run the code above in your browser using DataLab