Wikunia / ConstraintSolver.jl

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

Support for less than linear constraints #70

Closed Wikunia closed 4 years ago

Wikunia commented 4 years ago

Shouldn't be merged before something for #69 is implemented.

codecov[bot] commented 4 years ago

Codecov Report

Merging #70 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   99.04%   99.07%   +0.02%     
==========================================
  Files          21       21              
  Lines        1466     1614     +148     
==========================================
+ Hits         1452     1599     +147     
- Misses         14       15       +1
Impacted Files Coverage Δ
src/options.jl 100% <ø> (ø) :arrow_up:
src/constraints/equal.jl 100% <ø> (ø) :arrow_up:
src/constraints/all_different.jl 98.31% <ø> (ø) :arrow_up:
src/MOI_wrapper/MOI_wrapper.jl 94.44% <100%> (+0.32%) :arrow_up:
src/MOI_wrapper/constraints.jl 100% <100%> (ø) :arrow_up:
src/constraints/less_than.jl 100% <100%> (ø) :arrow_up:
src/ConstraintSolver.jl 99.31% <100%> (-0.23%) :arrow_down:
src/MOI_wrapper/objective.jl 100% <100%> (ø) :arrow_up:
src/objective.jl 100% <100%> (ø) :arrow_up:

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 cc4c2ee...d6f1667. Read the comment docs.

Wikunia commented 4 years ago

Take care of edge cases and simplify the structure. WIP 😊

Wikunia commented 4 years ago

Can only work for positive values. A more general approach is needed :laughing: