In linear optimization, I often see linear inequalities that define the solution space being added up. Obviously if $1 < 4$ and $9 < 10$ then also $1 + 9 < 4 + 10$, so adding up both inequalities does not seem to do much harm (if you're adding up inequalities of the same sign). However if you have an optimization problem:
$\max x_2 \\ s.t.: x_1 \leq 1 \\ \ \ \ \ \ \ \ \ \ x_2 \leq 1\\ \ \ \ \ \ \ \ \ \ x_1, x_2 \geq 0 \ \text{and integer}$
then an optimum solution to this problem is obviously $(x_1,x_2) = (0,1)$.
But if you add both inequality constraints and obtain the following linear program:
$\max x_2 \\ s.t.: x_1 + x_2 \leq 2 \\ \ \ \ \ \ \ \ \ \ x_1, x_2 \geq 0 \ \text{and integer}$
The optimal solution clearly changes to $(x_1, x_2) = (0, 2)$. All we did was adding two linear inequalities (which is often done in linear programming, no?) but the solution space, the optimum objective value and the optimum solution clearly changed...
When are we allowed to add inequalities in linear programming without changing

