psrenergy / ToQUBO.jl

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

Add specific dispatch for `>=` constraints. #81

Closed pedromxavier closed 8 months ago

pedromxavier commented 8 months ago

This PR is a first move towards avoiding bridges, as part of an initiative to better interact with JuMP's attribute system.

codecov[bot] commented 8 months ago

Codecov Report

Attention: 66 lines in your changes are missing coverage. Please review.

Comparison is base (a0cd57c) 80.92% compared to head (a10e4c2) 84.76%.

Files Patch % Lines
src/compiler/constraints.jl 69.76% 26 Missing :warning:
src/attributes/compiler.jl 87.50% 15 Missing :warning:
src/attributes/solver.jl 60.86% 9 Missing :warning:
src/compiler/variables.jl 83.87% 5 Missing :warning:
src/compiler/build.jl 72.72% 3 Missing :warning:
src/compiler/error.jl 78.57% 3 Missing :warning:
src/compiler/penalties.jl 75.00% 3 Missing :warning:
src/compiler/parse.jl 93.33% 1 Missing :warning:
src/encoding/variables/set/one_hot.jl 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #81 +/- ## ========================================== + Coverage 80.92% 84.76% +3.83% ========================================== Files 31 30 -1 Lines 1143 1385 +242 ========================================== + Hits 925 1174 +249 + Misses 218 211 -7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.