Changeset 2859


Ignore:
Timestamp:
Jul 27, 2010 4:51:52 PM (9 years ago)
Author:
prsteel
Message:

Updates RangeSet? bounds after post-construction filtering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/base/rangeset.py

    r2811 r2859  
    9494        if self.filter is not None:
    9595            self._apply_filter()
     96            lb = min(self.value)
     97            ub = max(self.value)
     98
     99        # Assign bounds
    96100        self._bounds=(lb,ub)
    97 
Note: See TracChangeset for help on using the changeset viewer.