[go: up one dir, main page]

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

OMLT CBC Solver Error #132

Open
bspiveyxom opened this issue Oct 29, 2023 · 1 comment
Open

OMLT CBC Solver Error #132

bspiveyxom opened this issue Oct 29, 2023 · 1 comment

Comments

@bspiveyxom
Copy link
bspiveyxom commented Oct 29, 2023

When trying to run OMLT in Databricks using the CBC solver, I received a -printingOptions error. -printingOptions may not be an option for the latest CBC?

It appears that OMLT/Pyomo is recognizing the CBC solver. Is this an easy fix to configure this printing option to prevent this error.

image

@jalving
Copy link
Collaborator
jalving commented Oct 29, 2023

Hi @bspiveyxom, I can't seem to reproduce this issue using Pyomo-6.6.2 or Cbc 2.10.10 using the executable approach. I can't tell why Cbc is throwing that error; that should be a default option it runs with. Does Cbc work for any problem, or does this just happen in OMLT?

Can you run with the solver output?

status = solver.solve(model3_mixed, tee=True)

Also, does model3_mixed contain any nonlinear activation functions or use the complementarity formulation? Those would also fail with cbc, but the error would be different.

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

No branches or pull requests

2 participants