[Utilities] add distance_to_set for MOI.Indicator#2923
Conversation
|
Thanks a lot, @odow, to implement this so quickly! Just do double check: Is it correct, that the distance is now limited to the interval Additionally: Is it on purpose that My thoughts might be incorrect as I don't know the package well enough, but maybe a comment would help the uninformed reader if the code stays as it is. |
Yes. That follows from the definition of the set, since we can trivially satisfy feasibility by fixing the
Oops. No. I'l make a follow-up PR. I meant to add tests for the complex case, but I obviously forgot. |
Closes #2922