Skip to content

Commit

Permalink
ask for tighter tolerance on cartpole
Browse files Browse the repository at this point in the history
  • Loading branch information
ManifoldFR committed Nov 1, 2024
1 parent 5c4484d commit 504ee15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/cartpole.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,12 @@ def get_box_cstr():
)


mu_init = 1e-5
mu_init = 1e-8
verbose = aligator.VerboseLevel.VERBOSE
TOL = 1e-4
TOL = 1e-6
MAX_ITER = 300
solver = aligator.SolverProxDDP(TOL, mu_init, max_iters=MAX_ITER, verbose=verbose)
solver.bcl_params.mu_lower_bound = 1e-11
callback = aligator.HistoryCallback(solver)
solver.registerCallback("his", callback)

Expand Down

0 comments on commit 504ee15

Please sign in to comment.