Skip to content

Commit ab4fd4a

Browse files
committed
ask for tighter tolerance on cartpole
1 parent af24474 commit ab4fd4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/cartpole.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ def get_box_cstr():
9696
)
9797

9898

99-
mu_init = 1e-5
99+
mu_init = 1e-8
100100
verbose = aligator.VerboseLevel.VERBOSE
101-
TOL = 1e-4
101+
TOL = 1e-6
102102
MAX_ITER = 300
103103
solver = aligator.SolverProxDDP(TOL, mu_init, max_iters=MAX_ITER, verbose=verbose)
104+
solver.bcl_params.mu_lower_bound = 1e-11
104105
callback = aligator.HistoryCallback(solver)
105106
solver.registerCallback("his", callback)
106107

0 commit comments

Comments
 (0)