Changes between Version 11 and Version 17 of Ticket #14540
 Timestamp:
 04/21/16 08:51:53 (6 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #14540

Property
Status
changed from
new
toneeds_work

Property
Authors
changed from
to
Jeroen Demeyer
 Property Cc mkoeppe added

Property
Summary
changed from
MILP constraints do no deal with Python types properly
toFix complicated MILP constraints

Property
Branch
changed from
to
u/jdemeyer/milp_constraints_do_no_deal_with_python_ints_properly

Property
Commit
changed from
to
ba7613b12a717f7ca72137d9c91d7edca5f6cbbb

Property
Status
changed from

Ticket #14540 – Description
v11 v17 5 5 x_0 <= 2 6 6 }}} 7 8 {{{ 9 sage: p = MixedIntegerLinearProgram() 10 sage: b = p.new_variable() 11 sage: b[0] <= 3 <= 4 <= b[1] 12 4 <= x_1 13 }}} 14 15 {{{ 16 sage: p = MixedIntegerLinearProgram() 17 sage: b = p.new_variable() 18 sage: float(0) <= b[0] <= int(1) <= b[1] <= float(2) 19 1 <= x_1 <= 2 20 }}} 21 22 {{{ 23 sage: p = MixedIntegerLinearProgram() 24 sage: b = p.new_variable() 25 sage: b[0] <= 555*b[1] >= 2 26 2 <= x_0 <= 555*x_1 27 }}}