I have a model with only binary or integer variables, but after solving my model, some variables are assigned a continous value. I cannot figure out why...
I implemented the variables as follows. After that, I stated my conditions followed my the optimize-command.
u=heu_dyn.addVars(SetI, SetK, vtype=GRB.INTEGER, name='u')
Please sign in to leave a comment.