Changeset 3694


Ignore:
Timestamp:
02/22/11 08:48:21 (3 years ago)
Author:
jdsiiro
Message:

Reverting change in how "--save-model" and "--instance-only" options
were processed from r3681. This should fix #4212.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/scripting/pyomo.py

    r3693 r3694  
    293293    # 
    294294    model_data = util.create_model(options) 
    295     if options.save_model and options.only_instance: 
     295    if options.save_model or options.only_instance: 
    296296        return Container(instance=model_data.instance) 
    297297    # 
Note: See TracChangeset for help on using the changeset viewer.