Changeset 3013


Ignore:
Timestamp:
Sep 15, 2010 1:19:57 PM (9 years ago)
Author:
jwatson
Message:

Improving an error diagnostic message in the LP writer.

File:
1 edited

Legend:

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

    r2907 r3013  
    101101    def _no_label_error ( var ):
    102102        msg  = "Unable to find label for variable '%s'.\n"                    \
    103         'Possibly uninstantiated model.  Do any constraint or objective '     \
    104         'rules reference the original Model() object, as opposed to the '     \
    105         'passed model object?'
     103        'Possibly uninstantiated model.  Do any constraint or objective  '     \
     104        'rules reference the original Model() object, as opposed to the  '     \
     105        'passed model object? Alternatively, if you are developing code, '     \
     106        'has the model instance been pre-processed?'
    106107
    107108        raise ValueError, msg % str(var)
Note: See TracChangeset for help on using the changeset viewer.