% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sboa.R
\name{sboa}
\alias{sboa}
\title{Secretary Bird Optimization Algorithm}
\usage{
sboa(
  fn,
  lower,
  upper,
  n_agents = 30,
  max_iter = 500,
  ...,
  verbose = TRUE,
  seed = NULL
)
}
\arguments{
\item{fn}{Objective function to be minimized.}

\item{lower}{Lower bounds for decision variables.}

\item{upper}{Upper bounds for decision variables.}

\item{n_agents}{Number of search agents.}

\item{max_iter}{Maximum number of iterations.}

\item{...}{Additional arguments passed to \code{fn}.}

\item{verbose}{Logical; if \code{TRUE}, progress is printed.}

\item{seed}{Optional random seed.}
}
\value{
An object of class \code{"sboa"}.
}
\description{
General-purpose continuous optimization using the Secretary Bird
Optimization Algorithm (SBOA).
}
\examples{
sphere <- function(x) sum(x^2)

res <- sboa(
  fn = sphere,
  lower = rep(-10, 5),
  upper = rep(10, 5),
  n_agents = 10,
  max_iter = 20,
  seed = 123,
  verbose = FALSE
)

print(res)
}
\references{
Fu, W., Wang, K., Liu, J., et al. (2024). Secretary Bird Optimization Algorithm.
Artificial Intelligence Review. DOI: 10.1007/s10462-024-10729-y
}
