|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Extended options specific to the sparse Gauss-Newton optimization algorithm. More...
#include <gauss_newton_solver_sparse.h>
Public Member Functions | |
| SparseGaussNewtonSolverOptions ()=default | |
| Default constructor. | |
| SparseGaussNewtonSolverOptions (const SolverOptions &baseOptions) | |
| Construct from base solver options while preserving defaults. | |
| Public Member Functions inherited from momentum::SolverOptions | |
| virtual | ~SolverOptions ()=default |
| Virtual destructor for polymorphic behavior. | |
Public Attributes | |
| float | regularization = 0.05f |
| Damping parameter added to Hessian diagonal for numerical stability; see https://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquardt_algorithm. | |
| bool | doLineSearch = false |
| Enables backtracking line search to ensure error reduction at each step. | |
| bool | useBlockJtJ = false |
| Uses pre-computed JᵀJ and JᵀR from the solver function. | |
| bool | directSparseJtJ = false |
| Directly computes sparse JᵀJ without dense intermediate representation. | |
| Public Attributes inherited from momentum::SolverOptions | |
| size_t | minIterations = 1 |
| Minimum number of iterations before checking convergence criteria. | |
| size_t | maxIterations = 2 |
| Maximum number of iterations before terminating. | |
| float | threshold = 1.0f |
| Convergence threshold for relative error change. | |
| bool | verbose = false |
| Enable detailed logging during optimization. | |
Extended options specific to the sparse Gauss-Newton optimization algorithm.
Definition at line 16 of file gauss_newton_solver_sparse.h.
|
default |
Default constructor.
|
inline |
Construct from base solver options while preserving defaults.
Definition at line 40 of file gauss_newton_solver_sparse.h.
| bool momentum::SparseGaussNewtonSolverOptions::directSparseJtJ = false |
Directly computes sparse JᵀJ without dense intermediate representation.
Only effective when useBlockJtJ is true
Definition at line 34 of file gauss_newton_solver_sparse.h.
| bool momentum::SparseGaussNewtonSolverOptions::doLineSearch = false |
Enables backtracking line search to ensure error reduction at each step.
Definition at line 24 of file gauss_newton_solver_sparse.h.
Referenced by momentum::SparseGaussNewtonSolverT< T >::SparseGaussNewtonSolverT().
| float momentum::SparseGaussNewtonSolverOptions::regularization = 0.05f |
Damping parameter added to Hessian diagonal for numerical stability; see https://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquardt_algorithm.
Higher values improve stability but may slow convergence
Definition at line 21 of file gauss_newton_solver_sparse.h.
Referenced by momentum::SparseGaussNewtonSolverT< T >::SparseGaussNewtonSolverT().
| bool momentum::SparseGaussNewtonSolverOptions::useBlockJtJ = false |
Uses pre-computed JᵀJ and JᵀR from the solver function.
Can improve performance for problems with specialized structure
Definition at line 29 of file gauss_newton_solver_sparse.h.