1% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/nloptions.R
3\name{nl.opts}
4\alias{nl.opts}
5\title{Setting NL Options}
6\usage{
7nl.opts(optlist = NULL)
8}
9\arguments{
10\item{optlist}{list of options, see below.}
11}
12\value{
13returns a list with default and changed options.
14}
15\description{
16Sets and changes the NLOPT options.
17}
18\details{
19The following options can be set (here with default values):
20
21\code{stopval = -Inf, # stop minimization at this value}\cr \code{xtol_rel =
221e-6, # stop on small optimization step}\cr \code{maxeval = 1000, # stop on
23this many function evaluations}\cr \code{ftol_rel = 0.0, # stop on change
24times function value}\cr \code{ftol_abs = 0.0, # stop on small change of
25function value}\cr \code{check_derivatives = FALSE}
26}
27\note{
28There are more options that can be set for solvers in NLOPT. These
29cannot be set through their wrapper functions. To see the full list of
30options and algorithms, type \code{nloptr.print.options()}.
31}
32\examples{
33
34nl.opts(list(xtol_rel = 1e-8, maxeval = 2000))
35
36}
37\author{
38Hans W. Borchers
39}
40