Closed frejknutarlewander closed 2 years ago
I added two types of domain constraints: InDomain InSparseDomain.
Given a value v, the violation is the minimum absolute distance to a value inside the domain (0 if v is in the domain).
InSparseDomain contains an offset and a vector of Ints where each int i is the violation of the corresponding value.
InSparseDomain
InDomain contains non-overlapping ranges of lower- and upperbounds in an increasing order
InDomain
I added two types of domain constraints: InDomain InSparseDomain.
Given a value v, the violation is the minimum absolute distance to a value inside the domain (0 if v is in the domain).
InSparseDomain
contains an offset and a vector of Ints where each int i is the violation of the corresponding value.InDomain
contains non-overlapping ranges of lower- and upperbounds in an increasing order