Skip to content

Commit

Permalink
no, back to CG; LSMR approach less robust
Browse files Browse the repository at this point in the history
  • Loading branch information
enzbus committed Sep 10, 2024
1 parent 7c15d51 commit 4a3a008
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project_euromir/solver_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ def _local_derivative_residual(xy):
# )

# LSMR seems better than LSQR and CG, however need to count matrix evals
direction_calculator = LSMRLevenbergMarquardt(
residual_function=_local_residual,
derivative_residual_function=_local_derivative_residual,
# direction_calculator = LSMRLevenbergMarquardt(
# residual_function=_local_residual,
# derivative_residual_function=_local_derivative_residual,
# warm_start=True, # also doesn't work with warm start
)
# )

# direction_calculator = DenseNewton( #WarmStartedCGNewton(
# hessian_function=_local_hessian,
Expand Down

0 comments on commit 4a3a008

Please sign in to comment.