Commit 06005d8f authored by David Bommes's avatar David Bommes
Browse files

improved regularization strategy

parent d522a47c
Pipeline #5025 failed with stages
in 6 minutes and 41 seconds
......@@ -123,8 +123,8 @@ int NewtonSolver::solve(NProblemInterface* _problem, const SMatrixD& _A,
const double KKT_res_eps = 1e-6;
const int max_KKT_regularization_iters = 40;
double regularize_constraints_limit = 2*1e-6;
const double max_allowed_constraint_violation2 = 1e-10;
double regularize_constraints_limit = 1e-6;
const double max_allowed_constraint_violation2 = 1e-12;
// number of unknowns
size_t n = _problem->n_unknowns();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment