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

Refactoring into submodules #18

Merged
merged 16 commits into from
Jul 24, 2018
Merged

Refactoring into submodules #18

merged 16 commits into from
Jul 24, 2018

Conversation

blegat
Copy link
Member

@blegat blegat commented May 22, 2018

No description provided.

Copy link
Member

@frapac frapac left a comment

Choose a reason for hiding this comment

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

I like this first sketch of SOI!

I will make a more thorough review tomorrow, as you add lots of new functions inside SOI :)

# TODO This module should be replaced by the package https://github.com/JuliaStochOpt/StochOptInterface.jl
module StochOptInterface

using DocStringExtensions
Copy link
Member

Choose a reason for hiding this comment

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

Should we continue to use DocStringExtensions?

Copy link
Member Author

Choose a reason for hiding this comment

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

No we can get rid of it :)

Copy link
Member Author

Choose a reason for hiding this comment

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

What is the reason to stop using it ?

Copy link
Member

Choose a reason for hiding this comment

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

I am in a minimalistic mood for a few months ...
I tend to believe that the fewer the dependancies, the easier the maintenance is!

include("solution.jl")
# TODO This module should be replaced by the package https://github.com/JuliaStochOpt/StochOptInterface.jl
include("StochOptInterface/StochOptInterface.jl")
const SOI = StochOptInterface
Copy link
Member

Choose a reason for hiding this comment

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

I like the similitude with MOI!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 88.095% when pulling af79f9c on submodules into 7b2c729 on master.

@codecov-io
Copy link

codecov-io commented Jul 23, 2018

Codecov Report

Merging #18 into master will increase coverage by 0.27%.
The diff coverage is 90.31%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
+ Coverage   88.03%   88.31%   +0.27%     
==========================================
  Files          14       17       +3     
  Lines         869      924      +55     
==========================================
+ Hits          765      816      +51     
- Misses        104      108       +4
Impacted Files Coverage Δ
src/StructProg/cutstore.jl 72.72% <ø> (ø)
src/StructProg/solver.jl 75.43% <ø> (ø)
src/SDDP/comp.jl 77.77% <ø> (ø)
src/StochOptInterface/stopcrit.jl 91.3% <ø> (ø)
src/StochOptInterface/stats.jl 100% <100%> (ø)
src/StructProg/cut.jl 100% <100%> (ø)
src/StochOptInterface/attributes.jl 100% <100%> (ø)
src/StructProg/nlds.jl 86.98% <100%> (ø)
src/StructProg/interface.jl 100% <100%> (ø)
src/StructProg/comp.jl 100% <100%> (ø)
... and 15 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 d16a967...9fb8748. Read the comment docs.

@blegat blegat merged commit f267aaf into master Jul 24, 2018
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.

None yet

4 participants