For an applied math setting, I need to write multiple inequality constraints into a LaTeX report which are all in the form
x_{i} + x_{j} \ge 1.
I've typed up what "i" and "j" are in an excel sheet as parallel columns. I was wondering if there would be a way to loop through these values to generate the 58 equations, which would save a lot of typing (and it would also really make this scalable if we needed 500 equations, for instance)?
Best Answer
Here's a possible implementation; the delimiters can be changed.