Skip to content

Conversation

blegat
Copy link
Member

@blegat blegat commented Sep 20, 2018

Let's tag MOI v0.6.1 once this is merged since this is a critical fix now that jump-dev/JuMP.jl#1468 is merged
Closes jump-dev/JuMP.jl#1476

@codecov-io
Copy link

codecov-io commented Sep 20, 2018

Codecov Report

Merging #524 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #524      +/-   ##
==========================================
+ Coverage   95.57%   95.65%   +0.07%     
==========================================
  Files          46       46              
  Lines        4678     4692      +14     
==========================================
+ Hits         4471     4488      +17     
+ Misses        207      204       -3
Impacted Files Coverage Δ
src/Bridges/Bridges.jl 100% <ø> (ø) ⬆️
src/Utilities/functions.jl 97.15% <100%> (+0.01%) ⬆️
src/Test/modellike.jl 100% <0%> (ø) ⬆️
src/Bridges/squarepsdbridge.jl 98.38% <0%> (+3.22%) ⬆️
src/Bridges/intervalbridge.jl 91.3% <0%> (+4.94%) ⬆️

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 8b8ba35...9e3d69e. Read the comment docs.

test/bridge.jl Outdated
@@ -162,6 +162,7 @@ MOIU.@model(NoRSOCModel,

@testset "Combining two briges" begin
fullbridgedmock = MOIB.fullbridgeoptimizer(mock, Float64)
@test MOI.supports_constraint(fullbridgedmock, MOI.VectorAffineFunction{Float64}, MOI.PositiveSemidefiniteConeSquare)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test doesn't fall under the "combining two bridges" header. Consider using a different testset.

test/bridge.jl Outdated
end
for F in [MOI.VectorOfVariables, MOI.VectorAffineFunction{Float64},
MOI.VectorQuadraticFunction{Float64}]
@show F
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug output?

test/bridge.jl Outdated
MOI.GeometricMeanCone)
end
for F in [MOI.VectorOfVariables, MOI.VectorAffineFunction{Float64}]
# Missing vcat for quadratic for supporting quadratic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand these two comments. Are they TODOs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes :)

test/bridge.jl Outdated
MOI.GeometricMeanCone)
end
for F in [MOI.VectorOfVariables, MOI.VectorAffineFunction{Float64}]
# TODO Missing vcat for quadratic for supporting quadratic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still don't understand these TODOs and how they relate to the surrounding code. Are they implying that certain constraints are not yet supported? Which?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests are not in the previous for because they do not support VectorQuadraticFunction yet

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you clarify that on the comments?

@blegat blegat merged commit 374695c into master Sep 22, 2018
@mlubin mlubin deleted the bl/addmissingpsds branch September 22, 2018 13:37
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.

Bridge for PositiveSemidefiniteConeSquare weird behavior
3 participants