Skip to content

Commit

Permalink
Moroder test adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwittek committed Nov 16, 2016
1 parent 37dee14 commit 38c18eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ncpol2sdpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def test_violation(self):
Problem.add_constraint(X - Y + Z == 0)
Problem.add_constraint(Z[0, 0] == 1)
solution = Problem.solve(verbose=0)
self.assertTrue(abs(solution["obj"] - 0.139) < 10e-3)
self.assertTrue(abs(solution["obj"] - 0.1236) < 10e-3)


class NietoSilleras(unittest.TestCase):
Expand Down

0 comments on commit 38c18eb

Please sign in to comment.