... 'dual objective': 1.0,
... 'primal objective': None,
... 'gap': None,
- ... 'residual as primal infeasibility certificate': 3.986246886102996e-09}
+ ... 'residual as primal infeasibility certificate':
+ ... 3.986246886102996e-09}
>>> print(GameUnsolvableException(d))
Solution failed with result "primal infeasible."
CVXOPT returned:
tpl = 'Solution failed with result "{:s}."\n' \
'CVXOPT returned:\n {!s}'
cvx_lines = _pretty_format_dict(self._solution_dict).splitlines()
- cvx_str = '\n '.join(cvx_lines) # Indent the whole dict by two spaces.
+
+ # Indent the whole dict by two spaces.
+ cvx_str = '\n '.join(cvx_lines)
+
return tpl.format(self._solution_dict['status'], cvx_str)