Changeset 2152 for coopr.pysos


Ignore:
Timestamp:
Jan 12, 2010 2:25:37 PM (10 years ago)
Author:
wehart
Message:

Bug fix.

File:
1 edited

Legend:

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

    r1217 r2152  
    1818import os
    1919import coopr
    20 import coopr.pyomo.main_script
     20import coopr.pyomo.scripting.pyomo
    2121from model import SystemModel
    2222
     
    103103        if self.data is not None:
    104104            args.append(self.data)
    105         [self.instance,self.results] = coopr.pyomo.main_script.run(args)
     105        [self.instance,self.results] = coopr.pyomo.scripting.pyomo.run(args)
    106106        #
    107107        # Get modified input and output values
Note: See TracChangeset for help on using the changeset viewer.