My problem can be described in reference of GUROBI Jupyter Supply Cahin - 2 example. Please see the link - (https://colab.research.google.com/github/Gurobi/modeling-examples/blob/master/supply_network_design_1_2/supply_network_design_2_gcl.ipynb#scrollTo=rtVsVxAQBUPB) or (https://www.gurobi.com/resource/supply-network-design-i-and-ii/).
But, in the supply chain design in the link, maximum one depo can be opened in one location, i.e., the equation is following with a binary type.
open = model.addVars(depots, obj=opencost, vtype=GRB.BINARY, name="open")
How can I make the model flexible to select more than one depo in a single location using INTEGER type? I just tried to convert my model using GRB.INTEGER variable type, but it did not get solution.
Thanks in advance
Please sign in to leave a comment.