A network location-allocation model trading off flow capturing andp-median objectives