Ignore:
Timestamp:
Nov 3, 2009 12:09:49 PM (11 years ago)
Author:
wehart
Message:

Misc bug fixes that were introduced by the introduction of variable_map
data, which is now called symbol_map.

Note: some tests still fail, due to the fact that pico_convert does not
generate symbol mapping information. This is being resolved.

File:
1 edited

Legend:

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

    r1772 r1794  
    6262        elif args[1] is ProblemFormat.nl:
    6363            problem_filename = pyutilib.services.TempfileManager.create_tempfile(suffix = '.pyomo.nl')
    64             (problem_filename, variable_map) = args[2].write(filename=problem_filename,format=ProblemFormat.nl)
    65             return (problem_filename,),variable_map # map file is necessary
     64            (problem_filename, symbol_map) = args[2].write(filename=problem_filename,format=ProblemFormat.nl)
     65            return (problem_filename,),symbol_map # map file is necessary
     66
Note: See TracChangeset for help on using the changeset viewer.