Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #4348 (new minor enhancement)

Opened 2 years ago

Last modified 21 months ago

When creating models, need to catch, warn, and throw exception when users define a "load" attribute

Reported by: jwatson Owned by: unassigned
Priority: normal Milestone: Coopr 3.x
Component: coopr.pyomo Version:
Keywords: Cc:


If one defines model.load, this yields very bizarre behavior - specifically, because you end up over-writing the existing method, i.e., the real load().

We need to modify PyomoModel? setattr to catch any potential changes to existing methods of the class.


Change History

comment:1 Changed 21 months ago by jwatson

  • Milestone changed from Coopr 3.2 to Coopr 3.x

Add a comment

Modify Ticket

Change Properties
<Author field>
as new

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.