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

Problems returning dual variables ? #50

Closed
pedroborgesmelo opened this issue Jan 11, 2018 · 5 comments
Closed

Problems returning dual variables ? #50

pedroborgesmelo opened this issue Jan 11, 2018 · 5 comments

Comments

@pedroborgesmelo
Copy link

Hey Guys!

I have problems here taking the dual variables when using CbcSolver()
When I use ClpSolver(), everything goes fine..

Do we have a problem with CbcSolver?

Thanks,

@joehuchette
Copy link
Contributor

joehuchette commented Jan 11, 2018

The duals for linear optimization (Clp) and integer optimization (Cbc) are quite different, and so Cbc doesn't return any dual information (besides bounds on the objective function).

@pedroborgesmelo
Copy link
Author

pedroborgesmelo commented Jan 11, 2018 via email

@joehuchette
Copy link
Contributor

It will, but it still won't provide dual information. If you're certain your problem is an LP, you should just pass it to Clp instead.

@mlubin
Copy link
Member

mlubin commented Jan 12, 2018

It's possible that duals are actually provided through the CBC C API, but we haven't hooked them up if they are.

@joehuchette
Copy link
Contributor

joehuchette commented Jan 12, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants