-
Notifications
You must be signed in to change notification settings - Fork 27
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
update entmoot version #464
base: main
Are you sure you want to change the base?
Conversation
Hi @TobyBoyne , could you please take a look? Do we need a new entmoot release to fix this? I would like to use entmoot via bofire with pyomo and Gurobi cloud in the background as per our exchange a few months ago (look at the lint test below) |
Hi @R-M-Lee. If I remember correctly, Pyomo 6.7.1 introduced a bug that broke ENTMOOT. We then fixed the version of Pyomo to 6.7.0 in this PR (cog-imperial/entmoot#41). I think that we just need to fix Pyomo to the same version in BoFire in order to resolve this. |
Thanks for the reply! I'll give it a try |
@TobyBoyne there are some tests failing for what I believe is an unrelated reason and we'll clear that up separately. But one ENTMOOT-specific thing caught my eye in https://github.com/experimental-design/bofire/actions/runs/11936229378/job/33306622223?pr=464
ENTMOOT doesn't like binary features apparently, but one is getting created when we do the domain conversion. Were there changes related to this in ENTMOOT too? |
If I had to guess, it's do to with these lines [1]. The logic is a bit curious - we only check to see if the feature is binary if no bounds are provided. Since I believe the bofire implementation provides the trivial bounds Some quick fixes would be:
A long term fix would be to use the BoFire feature API in ENTMOOT directly. I'm not sure how you would feel about this circular dependency (I personally think it would be fine, since we would only need the minimal BoFire installation in ENTMOOT), however this would take a non-trivial amount of time to implement (discussion at cog-imperial/entmoot#45) [2]
|
No description provided.