Clear minimizedModel at the beginning of each solve call, so that no stale model exists.