General modelling and exact solution techniques for restricted facility location problems