I am formulating a model that seeks to minimize the cost of shipping goods from factories to warehouses, where the cost of shipping is independent of the type or amount of goods being shipped (except when no goods are shipped, then the cost should be identically zero). To model this, I thought about creating an indicator variable that would apply the fixed cost of shipping from factory $i$ to warehouse $j$ if a given route was taken (i.e. the amount of goods sent via this route is not zero). Here is my current formulation:
$\textbf{Parameters}$
The cost of shipping goods from factory $i$ to warehouse $j$: $c_{ij}\in \mathbb{R}_{+}$
$\textbf{Decision Variables}$
Amount of good $k$ (in tons) shipped from factory $i$ to warehouse $j$: $x_{ijk} \in \mathbb{Q}_{+}$
Indicator variable to apply cost $c_{ij}$: $y_{ij} = \mathbb{1}\{\sum_{k=1}^{p}x_{ijk} > 0\}$
$\textbf{Objective}$
We want to minimize the cost of shipping. To represent cost, we sum up all applied fixed costs, that is, sum up the cost of each route currently being taken: $$\min \sum_{i=1}^{n}\sum_{j=1}^{m}c_{ij}y_{ij}$$ where $n$ is the total number of factories and $m$ is the total number of warehouses.
Here is the heart of my question: Would it be logically equivalent to forget the indicator variable altogether and simply model the objective as: $$\min \sum_{i=1}^{n}\sum_{j=1}^{m}c_{ij}\sum_{k=1}^{p}x_{ijk}$$ In this case, routes that are quite expensive to take would have $\sum_{k=1}^{p}x_{ijk}=0$ (is this a correct assumption?), effectively eliminating that route from consideration. However, the costs would differ in magnitude and would not capture the true cost that is desired (as well as other potential other issues my untrained eye is missing). Still, if all that matters is the routes taken, would these objectives be equivalent in both desire and outcome?