Wikunia / ConstraintSolver.jl

ConstraintSolver in Julia: Blog posts ->
https://opensourc.es/blog/constraint-solver-1
MIT License
135 stars 13 forks source link

table constraint and bugfix when vars not created #169

Closed Wikunia closed 4 years ago

Wikunia commented 4 years ago

I somehow missed that the dimension should not be 0 such that the correct number of variables in created. Additionally it only worked for the alldifferent constraint before and not for the table constraint...

codecov[bot] commented 4 years ago

Codecov Report

Merging #169 into master will increase coverage by 0.00%. The diff coverage is 92.30%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   98.79%   98.79%           
=======================================
  Files          32       32           
  Lines        2575     2579    +4     
=======================================
+ Hits         2544     2548    +4     
  Misses         31       31           
Flag Coverage Δ
#unittests 98.79% <92.30%> (+<0.01%) :arrow_up:
Impacted Files Coverage Δ
src/MOI_wrapper/MOI_wrapper.jl 97.43% <0.00%> (ø)
src/ConstraintSolver.jl 99.14% <100.00%> (+<0.01%) :arrow_up:
src/MOI_wrapper/constraints.jl 100.00% <100.00%> (ø)
src/constraints/all_different.jl 100.00% <100.00%> (ø)
src/constraints/indicator.jl 100.00% <100.00%> (ø)
src/constraints/table.jl 100.00% <100.00%> (ø)

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 587dbc8...ceea1a1. Read the comment docs.