I am trying to solve a model in java using Cplex. And I have to use column based modelling for that. My problem is similar to the following problem:
minimize 500x1 - x2
subject to 5x1 <= 10
5x1 - 3x2 <=10
I know that I have to create a new column for every decision variable. But for adding the second constraint, do I need to create a new column for x1 or can I use the same column that I have used for the first constraint?