Source code for neumann.optimize.errors
__all__ = ["DegenerateProblemError", "NoSolutionError"]
[docs]class DegenerateProblemError(Exception):
"""
The problem is degenerate.
The objective could be decreased, but only on the expense
of violating positivity of the standard variables.
"""
...
[docs]class NoSolutionError(Exception):
"""
There is no solution to this problem.
Step size could be indefinitely increased in a
direction without violating feasibility.
"""
...