It requires balancing such factors as response time to a customer's order, the marketing value of maintaining a local manufacturing presence, local-content rules, duties, transportation time and costs, local labor and occupancy costs, and the replication of fixed assets.