Originally posted by: UserCplex
Hello,
Given the following .lp file:
Minimize
obj: Y0_1 + Y0_2
Subject To
C1_0: Y0_1 + Y0_2 <= 5
C1_0: Y0_1 + Y0_2 >= 3
Bounds
0 <= Y0_1 <= 5
0 <= Y0_2 <= 5
End
when I read this via interactive optimizer and optimize, CPLEX correctly gives the warning:
Row 'C1_0' repeats.
Inspite of this warning, CPLEX does not disregard the second constraint, and the optimal solution is indeed 3 and not anything less than 3 which would have happened had the second inequality been disregarded.
I have an application from which the output .lp file does have repeated row labels. I cannot control this.
Is it guaranteed that regardless of number of repeated row labels, the interactive optimizer will never disregard the actual constraint in the rows with repeated labels?
Thaniks.
#CPLEXOptimizers#DecisionOptimization