GLPK objective coefficients are much more efficiently reset to zero if a new objective is set.
model.objective += 3. var works now
model.objective += 3. var works now (and objective coefficients are reset to 0 efficiently again)