% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.oscars.R
\name{summary.oscars}
\alias{summary.oscars}
\title{Summary method for 'oscars' objects}
\usage{
\method{summary}{oscars}(object, ...)
}
\arguments{
\item{object}{An 'oscars' object returned by \code{oscars}.}

\item{...}{Ignored here.  Included for use by other methods.}
}
\value{
No return value, called for side effects. Technically, \code{NULL}
is returned invisibly.
}
\description{
Summarizes an 'oscars' object. Shows an 'oscars' object's
minimized (or maximized) parameters, optimization message, iterations, etc..
}
\examples{
# Branins camel function with global minimum of f = -1.0316 at
# (0.0898,0.7127) and (0.0898,-0.7127) with four other local minimizers
camel <- function(par) {
  x = par[1]
  y = par[2]
  f = 4*x^2 - 2.1*x^4 + (1/3)*x^6 + x*y + 4*(y^4-y^2)
  return(f) }
out <- oscars(camel, n = 2, lwr = c(-5,-5), upr = c(5,5))
summary(out)

}
\seealso{
\code{\link{oscars}}
}
