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

Extract duals #8

Open
etesio opened this issue Jun 11, 2019 · 1 comment
Open

Extract duals #8

etesio opened this issue Jun 11, 2019 · 1 comment

Comments

@etesio
Copy link

etesio commented Jun 11, 2019

Hi there,

I am using OMPR and CBC via the rcbc binding to solve a MILP problem.
No issues in extracting the primal for a variable cog_power[sm,t], but when I try to extract the dual variables from the OMPR solution object sol I get

get_solution(sol, cog_power[sm,t], type="dual")
Error: The solution from the solver is invalid. It is NULL or contains NAs. Maybe the solver does not export duals?

Is it because duals are not supported by RCBC, or the ROI plugin, or something else?

Thanks a lot

@dirkschumacher
Copy link
Owner

rcbc does not support column duals at the moment. I linked an issue in rcbc to this issue.

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