Pyomo / pyomo

An object-oriented algebraic modeling language in Python for structured optimization problems.
https://www.pyomo.org
Other
1.9k stars 490 forks source link

Deprecate `pyomo.core.plugins.transform.model.to_standard_form()` #3265

Closed jsiirola closed 1 month ago

jsiirola commented 1 month ago

Fixes # .

Summary/Motivation:

This deprecates the pyomo.core.plugins.transform.model.to_standard_form() (and implicitly the entire pyomo.core.plugins.transform.model module). This functionality is not tested at all, and has been replaced by the WriterFactory('compile_standard_form') writer.

Changes proposed in this PR:

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
quantresearch1 commented 1 month ago

Nice one