I have an integer variable that takes values in {2, 5, 6, 8, 10}. How do I define this in JuMP?
For an integer variable, I do
@variable(model, x, Int)
but this will take all integer variables. I can set the upper and lower bounds limit but I would like the variable to take only few specific values as given above.