Just-in-time warehouse layout design by mathematical programming. Travel distance minimization by store allocation within the layout. Minmax approach for store allocation to clusters of floor locations. Portuguese retail sector case study with more than 200 floor locations’ layout. Case Study results suggest potential 2000 km/month distance travelled reduction.