psrenergy / ToQUBO.jl

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

Fix Raw Optimizer Attribute Access #66

Closed pedromxavier closed 1 year ago

pedromxavier commented 1 year ago

This PR aims to close #65.

codecov-commenter commented 1 year ago

Codecov Report

Base: 61.16% // Head: 70.56% // Increases project coverage by +9.40% :tada:

Coverage data is based on head (2e840d3) compared to base (787aa28). Patch coverage: 71.31% 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 #66 +/- ## ========================================== + Coverage 61.16% 70.56% +9.40% ========================================== Files 21 24 +3 Lines 1146 1247 +101 ========================================== + Hits 701 880 +179 + Misses 445 367 -78 ``` | [Impacted Files](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/66?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/66?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/66?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/66?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/66?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/66?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/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=psrenergy#diff-c3JjL2F0dHJpYnV0ZXMvc29sdmVyLmps) | `50.00% <50.00%> (ø)` | | | [src/lib/pbo/tools.jl](https://codecov.io/gh/psrenergy/ToQUBO.jl/pull/66?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/66?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/66?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/66?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/66?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.