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

OmltVar abstraction classes #141

Open
wants to merge 206 commits into
base: main
Choose a base branch
from
Open

Conversation

jezsadler
Copy link
Collaborator

Introducing OmltVar class, which will enable interconnectivity between OMLT and various modeling languages. As of this check-in, only Pyomo is supported. I've started work on variants using JuMP, but as yet they do not work with Expressions.

Legal Acknowledgement
By contributing to this software project, I agree my contributions are submitted under the BSD license.
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.

@jalving
Copy link
Collaborator

jalving commented Apr 20, 2024

It looks like github actions is failing because the environment is too big. I'll look into switching to tensorflow-cpu and torch-cpu unless you want to take a stab at it @jezsadler.

Keras 3 requires models to have the .keras file format. Going forward we should probably update the test models to use this format, but to unblock I'm holding back the Keras version.
Updating with newest changes from main
@jezsadler
Copy link
Collaborator Author

jezsadler commented Apr 22, 2024 via email

@jalving
Copy link
Collaborator

jalving commented Apr 22, 2024

I'll take a look at the coverage issue this week. I was going to make a manual run on main to test it out, but it looks like the CI workflow got deleted in a recent PR? I think we should get the disk space and coverage issues sorted out on main and then merge back to this PR. If we do run into more space issues, we can always create more workflows. I bet we could even put Julia tests in the lean environment.

I would also like to advocate getting the whole end-to-end JuMP-based formulation working before we consider merging. Is that the plan? If so, can we convert this to a draft PR? I am quite interested in what you have done with OmltVar as a generic interface, but I have questions about how the Pyomo model ultimately translates to a JuMP model. For instance, could we potentially come from JuMP and call out to OMLT to build formulations? Seeing the progress here, this would be a good topic for the next dev call.

@jezsadler
Copy link
Collaborator Author

jezsadler commented Apr 22, 2024 via email

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.

3 participants