Wasn't keeping linearized_constraints because had = instead of +=. still doesn't fix problem