Skip to content

Commit

Permalink
rollback default optimization params
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Mar 27, 2024
1 parent 9a56df7 commit c309890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conmech/solvers/optimization/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def _solve_impl(
displacement = np.squeeze(displacement.copy().reshape(1, -1))
old_solution = np.squeeze(initial_guess.copy().reshape(1, -1))
disp = kwargs.get("disp", False)
maxiter = kwargs.get("maxiter", int(len(initial_guess) * 1e12))
tol = kwargs.get("tol", 1e-18)
maxiter = kwargs.get("maxiter", int(len(initial_guess) * 1e9))
tol = kwargs.get("tol", 1e-12)
args = (
self.body.mesh.nodes,
self.body.mesh.contact_boundary,
Expand Down

0 comments on commit c309890

Please sign in to comment.