Hillclimb: store the nrep value locally
Bruteforce: store the nrep value locally