MOI Count Repetitions of Integers

Given your recent questions (MathOptInterface Documentation - #8 by odow), I’ll add a page to the JuMP documentation with a bunch of these short snippets.