Ticket #4481 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

strange behavior with SUFFIX and report_timing=True

Reported by: anonymous Owned by: unassigned
Priority: minor Milestone: Coopr 3.4
Component: pyomo.core Version:
Keywords: Cc:

Description

The following code causes an error regarding the SUFFIX len():

...
model.dual = Suffix(direction=Suffix.IMPORT)
...
model.create(sFile,report_timing=True)
...

However, when I comment out report_timing=True, the code executes normally.

Change History

comment:1 Changed 6 years ago by gabeh

Referenced in changeset [7587]:

Pyoming timing reporting to work with non-indexed Components (e.g., Suffix). Fixes #4481

comment:2 Changed 5 years ago by wehart

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to Coopr 3.4
Note: See TracTickets for help on using tickets.