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

lpSolver in CbcStrategy::setupOther lost message handler #8

Closed
svigerske opened this issue Mar 3, 2019 · 2 comments
Closed

lpSolver in CbcStrategy::setupOther lost message handler #8

svigerske opened this issue Mar 3, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: @svigerske

Original creation time: 2007-01-19 19:34:43

Assignee: somebody

Version:

Hi,

when running Cbc::branchAndBound, I noticed that I got an output line

  Clp0000I Optimal - objective value 89.0858

which was not directed through the message handler I've been giving to the OsiClpSolverInterface.

I debug the code a bit, and found that the lpSolver from CbcStrategy.cpp:354 does not seem to have the correct message handler.
I added

lpSolver->passInMessageHandler(solver->messageHandler());

and then it works fine.

I'm using Cbc release 1.1.0.

Stefan

@svigerske svigerske added bug Something isn't working component1 labels Mar 3, 2019
@svigerske
Copy link
Member Author

Comment by @jjhforrest created at 2007-02-16 20:55:25

should be fixed

@svigerske
Copy link
Member Author

Comment by @jjhforrest created at 2007-02-16 20:55:25

Resolution: fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant