I am currently working on a project and I want to create a (multiple) decision variable in Gurobi that can only take discrete values with a pre-defined step-width (e.g. 0, 5, 10, ...).
I am currently using the command:
capacity = m.addVars(locations, lb=0.0, name="capacity")
However, this command only produces continuous results. I know that by including the optional aspect
vType = ... you can define binary variables for example. Unfortunately, I couldn't find anything to extract discrete variables with a pre-defined step-width.