% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/optimize_model.R
\name{find_saddle_escape_direction}
\alias{find_saddle_escape_direction}
\title{Escape saddle point using eigenvector-based restarts}
\usage{
find_saddle_escape_direction(
  params,
  hessian_fn,
  objective_fn,
  param_constraints,
  verbose = FALSE
)
}
\arguments{
\item{params}{Current parameter estimates at saddle point}

\item{hessian_fn}{Function to compute Hessian at given parameters}

\item{objective_fn}{Function to compute objective at given parameters}

\item{param_constraints}{List with lower/upper bounds and free_idx}

\item{verbose}{Whether to print progress}
}
\value{
List with new_params and found_escape (TRUE if escape direction found)
}
\description{
When optimization converges to a saddle point (detected by positive Hessian
eigenvalues), this function perturbs parameters in the direction of positive
eigenvectors to escape the saddle point.
}
\keyword{internal}
