]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - dunshire/errors.py
Add the condition number of the game to its string representation.
[dunshire.git] / dunshire / errors.py
index 1ecf3dc7ffad232bf3fd540e119778f2eb42be95..61fe43d243b65d51595baa09c75e797c002fe306 100644 (file)
@@ -90,7 +90,8 @@ class GameUnsolvableException(Exception):
          e1 = [1.0000000]
               [0.1000000],
          e2 = [3.0000000]
-              [0.1000000].
+              [0.1000000],
+         Condition((L, K, e1, e2)) = 8.311277.
        CVXOPT returned:
          dual infeasibility: None
          dual objective: 1.0
@@ -190,7 +191,8 @@ class PoorScalingException(Exception):
          e1 = [1.0000000]
               [0.1000000],
          e2 = [3.0000000]
-              [0.1000000].
+              [0.1000000],
+         Condition((L, K, e1, e2)) = 8.311277.
        <BLANKLINE>
     """
     def __init__(self, game):