Changeset 4746


Ignore:
Timestamp:
08/25/11 18:00:39 (3 years ago)
Author:
wehart
Message:

Adding an option in the Pyomo testdriver to specify additional options that were
not available in YAML config file. This capability is used by the solver tester
logic in coopr.data.pyomo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.plugins/trunk/coopr/plugins/testdriver/pyomo.py

    r4686 r4746  
    106106        # 
    107107        root = options.solver+'_'+options.problem 
     108        if options.pyomo is None: 
     109            options.pyomo = '' 
    108110        try: 
    109             ans = self.pyomo('-w -c --solver=%s --output=%s --save-results=%s %s' % (options.solver, root+'.log', root+'.out', files)) 
     111            ans = self.pyomo('%s -w -c --solver=%s --output=%s --save-results=%s %s' % (options.pyomo, options.solver, root+'.log', root+'.out', files)) 
    110112            options.results = ans.results 
    111113            options.options = ans.options 
Note: See TracChangeset for help on using the changeset viewer.