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

Updates to MOI v0.9 #92

Merged
merged 15 commits into from
Aug 13, 2019
Merged

Updates to MOI v0.9 #92

merged 15 commits into from
Aug 13, 2019

Conversation

blegat
Copy link
Member

@blegat blegat commented May 22, 2019

@codecov-io
Copy link

codecov-io commented May 24, 2019

Codecov Report

Merging #92 into master will decrease coverage by 6.33%.
The diff coverage is 54.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   89.26%   82.92%   -6.34%     
==========================================
  Files           4        4              
  Lines         419      451      +32     
==========================================
  Hits          374      374              
- Misses         45       77      +32
Impacted Files Coverage Δ
src/ECOS.jl 92.85% <ø> (ø) ⬆️
src/MOI_wrapper.jl 70.96% <54.71%> (-11.52%) ⬇️
src/MPB_wrapper.jl 94.14% <0%> (-0.22%) ⬇️

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 dbcf2e6...e4bca49. Read the comment docs.

Copy link
Member

@mlubin mlubin left a comment

Choose a reason for hiding this comment

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

LGTM for merging after we tag MOI 0.9.

.travis.yml Outdated
notifications:
email: false
before_script:
- julia -e 'using Pkg; Pkg.add(PackageSpec(name="MathOptInterface", rev="master"))'
Copy link
Member

Choose a reason for hiding this comment

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

Add a TODO to remove this before merging?

Copy link
Member Author

Choose a reason for hiding this comment

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

When MOI is released, I remove this to lines and push to trigger the new build. I'll leave this comment unresolved as a reminder to be sure

optimizer.options[param.name] = value
end
function MOI.get(optimizer::Optimizer, param::MOI.RawParameter)
return optimizer.options[param.name]
Copy link
Member

Choose a reason for hiding this comment

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

TODO: This gives a poor error message if the name of the parameter is invalid.

Copy link
Member Author

Choose a reason for hiding this comment

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

We are currently lacking a convention for that. Even UniversalFallback do not have a nice error:
https://github.com/JuliaOpt/MathOptInterface.jl/blob/52d166f91614d5d522bf055cac232c7c5ba3ea96/src/Utilities/universalfallback.jl#L104-L105
Should it be a AttributeNotSetError ? Or just nothing ?

@blegat blegat merged commit 0bac20f into master Aug 13, 2019
@odow odow deleted the bl/moiv0.9 branch March 9, 2021 02:59
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.

3 participants