Struct LMConfig

Struct Documentation

struct LMConfig

Configuration for the LM solver

Public Members

float lambda_initial = 1e-4f

Initial damping factor.

float lambda_min = 1e-10f
float lambda_max = 1e8f
float lambda_factor = 2.0f

Multiply λ on rejection.

float eps_step = 1e-6f

Convergence: ‖Δx‖ < eps_step.

float eps_cost = 1e-8f

Convergence: |ΔCost/Cost| < eps_cost.

int max_iters = 50
bool verbose = false