Reduce number of Gurobi model->update() calls

We do not need to call model->update() after each new variable, it is enough to do it once per new constraint