Skip to content

Commit

Permalink
Added ParOpt to the test of optimizers that return lagrange multipliers
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Nov 13, 2024
1 parent 665454d commit 461ac69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_hs071.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_optimization(self, optName):
con2_line_num = constraint_header_line_num + 3
lambda_con1 = float(lines[con1_line_num].split()[-1])
lambda_con2 = float(lines[con2_line_num].split()[-1])
if optName in ("IPOPT", "SNOPT"):
if optName in ("IPOPT", "SNOPT", "ParOpt"):
assert_allclose(
[lambda_con1, lambda_con2],
self.lambdaStar[0]["con"],
Expand Down

0 comments on commit 461ac69

Please sign in to comment.