Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions pylpsolve/pylpsolve.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -183,16 +183,12 @@ DEF constraint_equal = 3
DEF constraint_in = 4

cdef list _constraint_type_list = [
("<" , constraint_leq),
("<=" , constraint_leq),
("=<" , constraint_leq),
("leq" , constraint_leq),
("lt" , constraint_leq),
(">" , constraint_geq),
(">=" , constraint_geq),
("=>" , constraint_geq),
("geq" , constraint_geq),
("gt" , constraint_geq),
("=" , constraint_equal),
("==" , constraint_equal),
("eq" , constraint_equal),
Expand Down Expand Up @@ -1132,10 +1128,10 @@ cdef class LP(object):
``"=", "==", "equal", "eq"``

Less than or equal:
``"<", "<=", "=<", "leq", "lt"``
``"<=", "=<", "leq"``

Greater than or equal:
``">", ">=", "=>", "geq", "gt"``
``">=", "=>", "geq"``

Within an interval:
``"in", "between", "range"``
Expand Down