Changeset 9484


Ignore:
Timestamp:
Dec 14, 2014 3:34:05 PM (4 years ago)
Author:
wehart
Message:

Fixes to enable the setting of bounds data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyomo/trunk/pyomo/core/base/var.py

    r9242 r9484  
    788788        if hasattr(domain, 'bounds'):
    789789            self._domain = domain
     790            self._domain_init_value = domain
    790791        else:
    791792            raise ValueError("%s is not a valid domain. Variable domains must be an instance of "
     
    879880        if hasattr(domain, 'bounds'):
    880881            self._domain = domain
     882            self._domain_init_value = domain
    881883        else:
    882884            raise ValueError("%s is not a valid domain. Variable domains must be an instance of "
Note: See TracChangeset for help on using the changeset viewer.