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

Fix bug in lagrangian duality #457

Merged
merged 1 commit into from
Aug 23, 2021
Merged

Fix bug in lagrangian duality #457

merged 1 commit into from
Aug 23, 2021

Conversation

odow
Copy link
Owner

@odow odow commented Aug 23, 2021

StrengthenedConicDuality can't use the higher bounds because the continuous dual solution is likely infeasible. If the bounds are too tight, then we'll get an incorrect dual objective value.

There must be something like adding a feasibility cut. But I don't know how that would work computationally. Using wide bounds seems okay.

cc @zfornier this fixes the StrengthenedConicDuality case, but not the LagrangianDuality. I obviously need to play with your example more.

@odow odow merged commit 209efc3 into master Aug 23, 2021
@odow odow deleted the od/bounds branch August 23, 2021 09:53
@zfornier
Copy link

zfornier commented Aug 24, 2021 via email

@odow
Copy link
Owner Author

odow commented Aug 24, 2021

I should write a tutorial for the documentation.

I find how SDDiP is presented as a concept in the literature confusing.

We have these subproblems:
image
and we're trying to find a feasible dual solution and corresponding dual objective value for the slope and intercept of the cut respectively.

You should probably be able to find a feasible solution with the default ContinuousConicDuality option as well. I changed how we handle integer variables in the forward pass during training.

@zfornier
Copy link

zfornier commented Aug 27, 2021 via email

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

Successfully merging this pull request may close these issues.

2 participants