Originally posted by: 88Simon88
Hello everyone,
When I run the model, I face with a conflict error, but I cannot find the conflict. Find the model and data files in the attachment. Is there anyone who can help me in this regard?
In the model, the decision variable X is binary. I is the inventory and L is the volume which cut from trees. At each time period, there is two choice to cut the cell (the whole trees in that cell of the forest) or not. If X=1, it means that it cuts, but note that constraints of wood allocation loss (between lines 157 and 177) express that if the cell is going to be cut, the whole amount of trees should be cut not part of it. The first cell of the forest has 100 from type 1 and cell 2 has 125 of type 2. The demand for time period one and two is 200. CPLEX chooses an obvious incorrect solution such as follows:
X[1][1][1][1]=1
X[1][1][2][1]=1
It means that it is going to cut the whole trees from cell one and two, so the L[1][1][1][1] and L[1][1][2][1] should be equal to 100 and 125, respectively, but L[1][1][1][1]=100 and L[1][1][2][1] = 100. Could please let me know why CPLEX choose this solution?
Note: Z[t][s] is the amount of woods which can be bought from the market and AAC is the limit for cutting at each time period and constant.
According to the aforementioned note, the CPLEX should choose one of the following:
X[1][1][1][1]=1
X[1][1][2][1]=0
Z[s][1]=100
X[1][1][1][1]=0
X[1][1][2][1]=1
Z[s][1]=75
X[1][1][1][1]=0
X[1][1][2][1]=0
Z[s][1]=200
I am really confused of CPLEX !!!! I would deeply appreciate if you could help me in this regard.
#CPLEXOptimizers#DecisionOptimization