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

Highs object has no attribute 'setLogCallback' #748

Open
Cristian-Mattace opened this issue Apr 28, 2024 · 0 comments
Open

Highs object has no attribute 'setLogCallback' #748

Cristian-Mattace opened this issue Apr 28, 2024 · 0 comments

Comments

@Cristian-Mattace
Copy link

Hi everyone,
I have PuLP v2.8.0 with HiGHS solver v1.7.1.dev1, but when I want to solve my problem, this error occurs:

env/lib/python3.12/site-packages/pulp/apis/highs_api.py", line 329, in createAndConfigureSolver
    lp.solverModel.setLogCallback(*callbackTuple)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Highs' object has no attribute 'setLogCallback'. Did you mean: 'setCallback'?

In the file highs_api.py if you comment the line 329, the solver works, but without logFile.

Anyone solved this problem?

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

1 participant