Wikunia / ConstraintSolver.jl

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

Indicator constraint #167

Closed Wikunia closed 4 years ago

Wikunia commented 4 years ago

Fix #166 Currently it only supports inner constraints of the form >=, <=, == and != not complicated constraints like alldifferent or table this is due to limitations in JuMP/MOI.

ToDo:

codecov[bot] commented 4 years ago

Codecov Report

Merging #167 into master will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
+ Coverage   98.76%   98.79%   +0.02%     
==========================================
  Files          31       32       +1     
  Lines        2513     2575      +62     
==========================================
+ Hits         2482     2544      +62     
  Misses         31       31              
Flag Coverage Δ
#unittests 98.79% <100.00%> (+0.02%) :arrow_up:
Impacted Files Coverage Δ
src/ConstraintSolver.jl 99.14% <ø> (ø)
src/MOI_wrapper/MOI_wrapper.jl 97.43% <ø> (ø)
src/MOI_wrapper/constraints.jl 100.00% <100.00%> (ø)
src/constraints/indicator.jl 100.00% <100.00%> (ø)
src/hashes.jl 100.00% <100.00%> (ø)
src/types.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 25e4dc2...9fe542c. Read the comment docs.