keep track of the value of the objective