Skip to content

Ranged LinearStandardFormCompiler#3960

Open
bknueven wants to merge 10 commits into
Pyomo:mainfrom
bknueven:ranged-lsfc
Open

Ranged LinearStandardFormCompiler#3960
bknueven wants to merge 10 commits into
Pyomo:mainfrom
bknueven:ranged-lsfc

Conversation

@bknueven
Copy link
Copy Markdown
Contributor

@bknueven bknueven commented May 20, 2026

Fixes # N/A

Summary/Motivation:

LinearStandardFormCompiler is a great tool for rapidly expanding a Pyomo model into the form need for (mixed-integer) linear programming solvers. Many of these solvers also handle ranged (linear) constraints. This PR would augment the LinearStandardFormCompiler to return ranged linear constraints directly as part of the LinearStandardFormInfo when the new option keep_range_constraints=True.

Changes proposed in this PR:

This PR was created with the help of GitHub Copilot CLI.

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.

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

Successfully merging this pull request may close these issues.

1 participant