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

Add Variable.SOCtoRSOCBridge #865

Merged
merged 2 commits into from Sep 4, 2019
Merged

Add Variable.SOCtoRSOCBridge #865

merged 2 commits into from Sep 4, 2019

Conversation

blegat
Copy link
Member

@blegat blegat commented Sep 1, 2019

Currently, adding SOC variables to PSD solvers not supporting SOC is inefficient as it will go through constraint bridges and create slack variables.
This PR adds SOCtoRSOCBridge to improve the situation.
We also create a different unbridged_map as SOCtoRSOCBridge could not implement the current one which fallbacks on the previous one to avoid breakage for bridge implementing it.

@blegat blegat added this to the v0.9.2 milestone Sep 1, 2019
@blegat blegat force-pushed the bl/var_soc_to_rsoc branch 3 times, most recently from 0a815d6 to 6223ee8 Compare September 1, 2019 07:57
@codecov-io
Copy link

codecov-io commented Sep 4, 2019

Codecov Report

Merging #865 into master will decrease coverage by 0.17%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #865      +/-   ##
==========================================
- Coverage   94.96%   94.79%   -0.18%     
==========================================
  Files          73       77       +4     
  Lines        8009     8103      +94     
==========================================
+ Hits         7606     7681      +75     
- Misses        403      422      +19
Impacted Files Coverage Δ
src/Bridges/Variable/bridge.jl 100% <100%> (ø) ⬆️
src/Bridges/Variable/map.jl 99.24% <100%> (ø) ⬆️
src/Bridges/Variable/soc_to_rsoc.jl 100% <100%> (ø)
src/Bridges/Variable/Variable.jl 88.88% <100%> (+1.38%) ⬆️
src/Test/contconic.jl 99.42% <100%> (ø) ⬆️
src/Bridges/Bridges.jl 100% <0%> (ø) ⬆️
src/Bridges/Objective/Objective.jl 100% <0%> (ø)
src/Bridges/Objective/bridge.jl 0% <0%> (ø)
src/Bridges/Objective/map.jl 58.33% <0%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38b0968...7ca969a. Read the comment docs.

@blegat blegat merged commit c5e5121 into master Sep 4, 2019
@blegat blegat deleted the bl/var_soc_to_rsoc branch October 10, 2019 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants