% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/box_constraints.R
\name{project_to_box}
\alias{project_to_box}
\title{Project Point to Box Constraints}
\usage{
project_to_box(x, lower, upper)
}
\arguments{
\item{x}{Point to project}

\item{lower}{Lower bounds}

\item{upper}{Upper bounds}
}
\value{
Projected point within bounds
}
\description{
Projects a point to the feasible region defined by box constraints.
}
\details{
Component-wise projection: each component is clamped to its bounds
}
\keyword{internal}
