% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kl_optim.R
\name{KLWFMult}
\alias{KLWFMult}
\title{Cocktail Algorithm for KL-Optimality}
\usage{
KLWFMult(
  init_design,
  kl_fun,
  beta2_init,
  lower,
  upper,
  design_space,
  grid.length,
  join_thresh,
  delete_thresh,
  delta_weights,
  tol,
  tol2,
  max_iter,
  kl_meta = list(type = "kl_fun")
)
}
\arguments{
\item{init_design}{optional dataframe with the initial design for the algorithm.}

\item{kl_fun}{function(x, beta2); returns the KL divergence at design point
\code{x} given rival parameters \code{beta2}.}

\item{beta2_init}{numeric vector of initial rival parameter values.}

\item{lower}{lower bounds for rival parameters in the inner optimisation.}

\item{upper}{upper bounds for rival parameters in the inner optimisation.}

\item{design_space}{named list with bounds for each design variable.}

\item{grid.length}{numeric value for the sensitivity search grid / LHS size.}

\item{join_thresh}{numeric value for the merge heuristic.}

\item{delete_thresh}{numeric value for the weight deletion threshold.}

\item{delta_weights}{numeric value in (0, 1), parameter of the algorithm.}

\item{tol}{numeric value for convergence of the weight loop.}

\item{tol2}{numeric value for the outer stop condition.}

\item{max_iter}{maximum number of outer iterations.}

\item{kl_meta}{list with summary metadata (\code{type}, and optionally
\code{family} and \code{phi} for the standard path).}
}
\value{
An object of class \code{optdes}.
}
\description{
Cocktail Algorithm for KL-Optimality
}
\seealso{
Other cocktail algorithms: 
\code{\link{CWFMult}()},
\code{\link{DWFMult}()},
\code{\link{DsWFMult}()},
\code{\link{IWFMult}()},
\code{\link{WFMult}()}
}
\concept{cocktail algorithms}
