Changeset 9461


Ignore:
Timestamp:
Nov 30, 2014 10:57:40 PM (4 years ago)
Author:
wehart
Message:

Changing the namespace used for repn api functions.

Location:
pyomo/trunk/pyomo/repn
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pyomo/trunk/pyomo/repn/compute_ampl_repn.py

    r9284 r9461  
    6666        block_ampl_repn[constraint_data] = ampl_repn
    6767
    68 @pyomo.util.pyomo_api(namespace='pyomo.model')
     68@pyomo.util.pyomo_api(namespace='pyomo.repn')
    6969def compute_ampl_repn(data, model=None):
    7070    """
  • pyomo/trunk/pyomo/repn/compute_canonical_repn.py

    r9284 r9461  
    186186                              block_lin_body=getattr(block,"lin_body",None))
    187187
    188 @pyomo.util.pyomo_api(namespace='pyomo.model')
     188@pyomo.util.pyomo_api(namespace='pyomo.repn')
    189189def compute_canonical_repn(data, model=None):
    190190    """
Note: See TracChangeset for help on using the changeset viewer.