Add InfiniteOpt as an Extension - #130
Merged
Merged
Conversation
dnguyen227
marked this pull request as ready for review
December 17, 2025 04:38
dnguyen227
commented
Dec 19, 2025
dnguyen227
marked this pull request as draft
December 19, 2025 19:24
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #130 +/- ##
=========================================
Coverage ? 99.19%
=========================================
Files ? 17
Lines ? 1862
Branches ? 0
=========================================
Hits ? 1847
Misses ? 15
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dnguyen227
commented
Dec 21, 2025
dnguyen227
commented
Dec 21, 2025
dnguyen227
marked this pull request as ready for review
December 22, 2025 17:02
dnguyen227
marked this pull request as draft
December 22, 2025 17:25
dnguyen227
marked this pull request as ready for review
December 22, 2025 18:20
pulsipher
requested changes
Dec 27, 2025
pulsipher
requested changes
Jan 5, 2026
pulsipher
left a comment
Collaborator
There was a problem hiding this comment.
Just two minor questions
pulsipher
approved these changes
Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Working version of #114 .
This adds an extension such that DisjunctiveProgramming is compatible with InfiniteOpt. It overloads the needed functions and provide the InfiniteGDPModel and InfiniteLogical functions.
A basic example is shown below:
As of right now, Hull, BigM, Indicator, and PSplit methods will function. Cutting Planes and Multiple BigM methods will be added in the future.