cog-imperial / OMLT

Represent trained machine learning models as Pyomo optimization formulations
Other
257 stars 56 forks source link

Bounds Handling in Linear Tree #152

Open bammari opened 3 weeks ago

bammari commented 3 weeks ago

This PR is a simple change to make bounds more clear in the linear_tree formulations.. It ensures that the scaled and unscaled bounds propagate through to the Pyomo block when created.

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.