File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1010# infinity representation
1111INF = float ("inf" )
1212
13-
1413# constraint senses
1514EQUAL = "="
1615LESS_OR_EQUAL = "<"
Original file line number Diff line number Diff line change @@ -4,6 +4,18 @@ class InvalidLinExpr(Exception):
44 pass
55
66
7+ class InvalidParameter (Exception ):
8+ """Exception that is raised when an invalid/non-existent
9+ parameter is used or set"""
10+ pass
11+
12+
13+ class ParameterNotAvailable (Exception ):
14+ """Exception that is raised when some parameter is not
15+ available for the current solver"""
16+ pass
17+
18+
719class SolutionNotAvailable (Exception ):
820 """Exception that is raised when some method to query some
921 solution property is used but no solution is available"""
Original file line number Diff line number Diff line change 1- 851e0c8c9801a8ad5027bd354a4390a6a7d8be5f
1+ acc32d4deb23be424f96c36138377e08b2a639d1
You can’t perform that action at this time.
0 commit comments