Ignore:
Timestamp:
Oct 21, 2010 5:41:58 PM (11 years ago)
Author:
jwatson
Message:

Various updates, mostly relating to linear expression representations debugging. Initial tests indicate very significant speed and memory reductions (at least for PH), with regression testing performed against a few initial benchmarks. No functional change if linear expressions are not enabled, which is the default

On the variable front, I have added output of variable Status in the pprint(), to facilitate debugging.

File:
1 edited

Legend:

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

    r3103 r3133  
    9191        # to avoid the usual technique of invoking kwargs.pop(name,default).
    9292        # manipulating the keyword dictionary takes too much time.
    93         for keyword, keywordvalue in kwargs.items():
     93        for keyword, keywordvalue in kwargs.iteritems():
    9494           if keyword is 'value':
    9595              value = keywordvalue           
Note: See TracChangeset for help on using the changeset viewer.