Originally posted by: andrea.bustillos
Thank you for your quick reply, and sorry for the confusion. The problem I'm solving is
Maximize
1000 x1 + 500 x2 - 500 x5 - 250 x6
Subject To
c1: x1 + x2 - x3 - x4 = 0
c2: - x3 + x5 = 0
c3: - x4 + x6 = 0
With these Bounds
0 <= x1 <= 10
0 <= x2 <= 15
0 <= x5 <= 15
0 <= x6 <= 5
When I modify it using the steps in this thread I get the next auxiliar problem
Maximize
x1 + x2
Subject To
c1: x1 + x2 - x3 - x4 = 0
c2: - x3 + x5 = 0
c3: - x4 + x6 = 0
c4: 1000 x1 + 500 x2 - 500 x5 - 250 x6 = 6250
With these Bounds
0 <= x1 <= 10
0 <= x2 <= 15
0 <= x5 <= 15
0 <= x6 <= 5
And I obtain the solution I was looking for. But for the second problem the duals are different. I've noticed that if I modify the coeficients in the objective function, the results of the dual variables change, which makes sense. Yet I would like that my final solution results in the same duality solution. Is this possible?
Another question is: if the optimal solution of the auxiliar problem is an optimal solution of the original problem, how does the aditional constraint affects the duality of my problem?
And finally, how do I determine if my one of my primal solutions is degenerate? For example, to the original problem I have the next relation of basic variables and their values
[AtUpper, AtLower, Basic, Basic, Basic, AtUpper]
[10.0, 0.0, 5.0, 5.0, 5.0, 5.0]
And I can see that the corresponding basic variables don't have a zero value. Can this be?
#CPLEXOptimizers#DecisionOptimization