Changeset 2875


Ignore:
Timestamp:
Jul 28, 2010 1:57:45 PM (9 years ago)
Author:
prsteel
Message:

Fix variable declarations in option processing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/transform/standard_form.py

    r2874 r2875  
    3131
    3232        # Optional naming schemes to pass to EqualityTransform
     33        eq_kwds = {}
    3334        eq_kwds["slack_names"] = kwds.pop("slack_names", "auxiliary_slack")
    3435        eq_kwds["excess_names"] = kwds.pop("excess_names", "auxiliary_excess")
     
    3738
    3839        # Optional naming schemes to pass to NonNegativeTransformation
     40        nn_kwds = {}
    3941        nn_kwds["pos_suffix"] = kwds.pop("pos_suffix", "_plus")
    4042        nn_kwds["neg_suffix"] = kwds.pop("neg_suffix", "_minus")
Note: See TracChangeset for help on using the changeset viewer.