Ask Your Question
4

What is the meaning of the message "Pyomo: DEPRECATED: Using __getitem__ to retrieve a value from its ordered position and return it as a set is no longer recommended"?

asked 2023-05-08 03:50:39 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-08 04:10:02 +0000

lakamha gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-08 03:50:39 +0000

Seen: 21 times

Last updated: May 08 '23