Changeset 3710


Ignore:
Timestamp:
Feb 25, 2011 12:51:44 PM (9 years ago)
Author:
wehart
Message:

In debugging mode, we generate a model to save. But, that shouldn't terminate the
Pyomo script unless we ask it to...

File:
1 edited

Legend:

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

    r3706 r3710  
    299299    #
    300300    model_data = util.create_model(options)
    301     if options.save_model or options.only_instance:
     301    if (not options.debug and options.save_model) or options.only_instance:
    302302        return Container(instance=model_data.instance)
    303303    #
Note: See TracChangeset for help on using the changeset viewer.