psrenergy / ToQUBO.jl

🟦 JuMP ToQUBO Automatic Reformulation
https://psrenergy.github.io/ToQUBO.jl
Other
27 stars 2 forks source link

Refactor for `v0.1.5` #59

Closed pedromxavier closed 1 year ago

pedromxavier commented 1 year ago

This PR aims to close #58, close #45, close #31 and close #20.

codecov-commenter commented 1 year ago

Codecov Report

Base: 61.16% // Head: 70.74% // Increases project coverage by +9.57% :tada:

Coverage data is based on head (51ffe74) compared to base (787aa28). Patch coverage: 71.67% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #59 +/- ## ========================================== + Coverage 61.16% 70.74% +9.57% ========================================== Files 21 24 +3 Lines 1146 1234 +88 ========================================== + Hits 701 873 +172 + Misses 445 361 -84 ``` | [Impacted Files](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy) | Coverage Δ | | |---|---|---| | [src/compiler/architectures.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2NvbXBpbGVyL2FyY2hpdGVjdHVyZXMuamw=) | `50.00% <0.00%> (ø)` | | | [src/lib/pbo/print.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2xpYi9wYm8vcHJpbnQuamw=) | `0.00% <0.00%> (ø)` | | | [src/model/prequbo.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL21vZGVsL3ByZXF1Ym8uamw=) | `0.00% <ø> (ø)` | | | [src/attributes/model.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2F0dHJpYnV0ZXMvbW9kZWwuamw=) | `25.00% <25.00%> (ø)` | | | [src/lib/pbo/wrapper.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2xpYi9wYm8vd3JhcHBlci5qbA==) | `8.69% <33.33%> (ø)` | | | [src/attributes/solver.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2F0dHJpYnV0ZXMvc29sdmVyLmps) | `48.97% <48.97%> (ø)` | | | [src/lib/pbo/tools.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2xpYi9wYm8vdG9vbHMuamw=) | `66.66% <58.33%> (+3.40%)` | :arrow_up: | | [src/attributes/compiler.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2F0dHJpYnV0ZXMvY29tcGlsZXIuamw=) | `59.83% <59.83%> (ø)` | | | [src/lib/pbo/quadratization.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2xpYi9wYm8vcXVhZHJhdGl6YXRpb24uamw=) | `64.00% <64.28%> (-3.80%)` | :arrow_down: | | [src/model/wrapper.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL21vZGVsL3dyYXBwZXIuamw=) | `77.77% <72.00%> (+5.31%)` | :arrow_up: | | ... and [14 more](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/59?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

pedromxavier commented 1 year ago

This PR closes #60

pedromxavier commented 1 year ago

Open comments were moved to #63 and psrenergy/QUBOTools.jl#34.