43 [[nodiscard]] std::string_view
getName()
const override;
void initializeSolver() final
GradientDescentSolverT(const SolverOptions &options, SolverFunctionT< T > *solver)
Creates a solver with the specified options and function to optimize.
void setOptions(const SolverOptions &options) final
Updates solver configuration, handling both base and Gradient Descent specific options.
void doIteration() final
Performs one iteration of the gradient descent algorithm.
std::string_view getName() const override
Returns "GradientDescent" as the solver name.
Abstract base class for optimization objective functions.
SolverT(const SolverOptions &options, SolverFunctionT< T > *solver)
Constructor with solver options and function to optimize.
Vector< T, Dynamic > VectorX
Dynamic-size column vector. Common return type for solver residuals and parameter vectors.
GradientDescentSolverOptions()=default
Default constructor.
GradientDescentSolverOptions(const SolverOptions &baseOptions)
Construct from base solver options while preserving Gradient Descent defaults.
float learningRate
Step size for parameter updates during optimization.
Common options for numerical optimization solvers.