matbesancon / MathOptSetDistances.jl

Distances to sets for MathOptInterface
MIT License
24 stars 4 forks source link

normed epigraph distance #3

Closed matbesancon closed 4 years ago

matbesancon commented 4 years ago

whenever a set is described as fi(x) <= 0 for i in I, defined the distance as a norm of the individual epigraph violations.

Many distance implementations are effectively following this guideline

codecov[bot] commented 4 years ago

Codecov Report

Merging #3 into master will increase coverage by 1.37%. The diff coverage is 80.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   65.81%   67.18%   +1.37%     
==========================================
  Files           3        3              
  Lines         117      128      +11     
==========================================
+ Hits           77       86       +9     
- Misses         40       42       +2     
Impacted Files Coverage Δ
src/sets.jl 66.66% <78.94%> (+1.17%) :arrow_up:
src/distances.jl 75.00% <100.00%> (+8.33%) :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 de42219...92fb4f0. Read the comment docs.