Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The message means that the code is using a method (__getitem__) that is no longer recommended for retrieving a value from its ordered position and returning it as a set in Pyomo. This method is deprecated, which means that it may not be supported in future versions of Pyomo and may cause errors. It is recommended to use alternative methods instead.