Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyas committed Aug 16, 2022
1 parent fd02f2b commit 9b0c180
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions examples/bsp_ilqr/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,28 +111,7 @@ def observation_noise(
action=jnp.zeros((horizon, action_dim)),
)

options = bsp_ilqr.Hyperparameters()

start = clock.time()
policy, reference, trace = bsp_ilqr.py_solver(
final_cost,
transient_cost,
goal_state,
dynamics_mean,
dynamics_noise,
init_mu,
init_cov,
state_space,
observation_mean,
observation_noise,
observation_space,
init_policy,
action_space,
init_reference,
options,
)
end = clock.time()
print("Compilation + Execution Time:", end - start)
options = bsp_ilqr.Hyperparameters(tol_fun=1e-4, tol_grad=1e-4)

start = clock.time()
policy, reference = bsp_ilqr.jax_solver(
Expand Down

0 comments on commit 9b0c180

Please sign in to comment.