Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RTR] solver options ipopt test #723

Merged
merged 2 commits into from
Jul 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/test_solver_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def test_ipopt_solver_options():
assert solver.hessian_approximation == "exact"
assert solver.limited_memory_max_history == 50
assert solver.linear_solver == "mumps"
assert solver.nlp_scaling_method == "gradient-based"
assert solver.mu_init == 0.1
assert solver.warm_start_init_point == "no"
assert solver.warm_start_mult_bound_push == 0.001
Expand Down Expand Up @@ -122,3 +123,6 @@ def test_ipopt_solver_options():
assert not "type" in solver_dict
assert not "show_online_optim" in solver_dict
assert not "show_options" in solver_dict

solver.set_nlp_scaling_method("gradient-fiesta")
assert solver.nlp_scaling_method == "gradient-fiesta"