I'm going to specify here a highly under determined version of the local search to highlight the number of design decisions that you've gotta make if you really want to apply local search to a problem in your own projects. 