So I'm trying to create this IP that has an optimal solution where all the variables are integers, and are all in multiples of a number, like 3. ( so the variables in the solution would have to be either 0,3,6,9,12,etc.)
I code in R, and it's pretty easy to set the constraint that the solution must be in integers (all.int = TRUE), but I am unsure of how to have it in a multiple of a number. What changes do I have to make within the Ax <= b formulation? Your help would be greatly appreciated! As of right now, I am fairly lost on how to actually do that