ryanjoneil / python-zibopt

Automatically exported from code.google.com/p/python-zibopt
2 stars 1 forks source link

upper and lower bounded constraints are not working #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Constraints of the form 2 <= x1 <= 4 or 2 <= (x1+x2) <= 4 are not functioning 
properly.  This is because Python instantiates the middle part as an expression 
twice instead of using the returned value from the first <= evaluation for the 
second.

Original issue reported on code.google.com by ryanjoneil on 21 Jun 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Actually, Python's evaluation rules haven't changed, so something must be 
triggering the second instantiation.  See 
http://paste.pound-python.org/show/8404/

Original comment by ryanjoneil on 21 Jun 2011 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by ryanjoneil on 21 Jun 2011 at 8:09