Mostly a hit and miss solution. (Design by experts, minimises the misses.) You start with somewhere at the centroid of all the well locations based on trying to minimise the costs of well_flowrates X pipeline_distance table to the CPF. Do the same for water supply if you need water injection.
--Einstein gave the same test to students every year. When asked why he would do something like that, "Because the answers had changed."