Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Pyomo.GDP and GDPOpt deprecations #55

Open
2 tasks
bernalde opened this issue Aug 20, 2024 · 1 comment
Open
2 tasks

Fix Pyomo.GDP and GDPOpt deprecations #55

bernalde opened this issue Aug 20, 2024 · 1 comment

Comments

@bernalde
Copy link
Member

Changes have been introduced in later versions of Pyomo.GDP and GDPOpt that makes some of our code deprecated.

  • One needs to set a True/False value to Boolean/indicator variables (0 and 1 are deprecated)
  • Option for GDPOpt is no longer strategy but algorithm

Feel free to add any other and fix them

@AlbertLee125
Copy link
Member

  • associate_binary_var creates a warning in the CSTR reactor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants