Originally posted by: BoJensen
I have problems understanding your question :
1) In the first question you ask :
"Therefore, it should suffice to only add variables with a negative objective function coefficient to the objective."
but in column generation you calculate the reduced cost and typically add the ones with a negative reduced cost. I don't see why you can conclude looking at the ones with a negative objective unless it's the first iteration and the duals are all zero.
2) "Unfortunately, CPLEX sets some of the variables, which exist in the model and would have a positive coefficient in the objective to 1, despite the fact, that this has no impact on the objective. How can I prevent that?"
Are you asking how to change the objective of a variable ?
3) Is this example what you could be solving :
minimize - x_0 + x_1
subject to:
5 * x_0 + 2 * x_1 <= 10
all x binary.
because the constraint is redundant and initially it was mentioned they should all have a lower bound of zero.
Please specify your question so I can help you.
#CPLEXOptimizers#DecisionOptimization