Changeset 2901


Ignore:
Timestamp:
Aug 2, 2010 5:14:53 PM (9 years ago)
Author:
prsteel
Message:

Bug fix in error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/io/cpxlp.py

    r2898 r2901  
    367367           obj_keys = obj.keys()
    368368           if len(obj_keys) > 1:
    369                keys = obj.name + ' (indexed by: %s)' % ', '.join(obj_keys)
     369               keys = obj.name + ' (indexed by: %s)' % ', '.join(map(str, obj_keys))
    370370
    371371               msg = "More than one objective defined for input model '%s'; " \
Note: See TracChangeset for help on using the changeset viewer.