Skip to content

Commit

Permalink
Merge pull request #723 from Ipuch/master
Browse files Browse the repository at this point in the history
[RTR] solver options ipopt test (#723)
  • Loading branch information
pariterre authored Jul 19, 2023
2 parents 1112d7d + 2b5ebe9 commit ed8d895
Showing 1 changed file with 4 additions and 0 deletions.
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"

0 comments on commit ed8d895

Please sign in to comment.