Does ipopt do variable eliminates? #436
-
Hey, I have a model with some with some variables on which there is an equality constraint (e.g. x1==x2), and only one of them has been given a starting value (say x1). I notice that performance of my model is a lot better if I assign the same starting value to both x1 and x2. Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is essentially no presolve happening. The only thing that happens is that Ipopt hides fixes variables from the internal formulation by default. So given the same starting value for variables that you know will have to have the same value in a feasible solution should be good. |
Beta Was this translation helpful? Give feedback.
There is essentially no presolve happening. The only thing that happens is that Ipopt hides fixes variables from the internal formulation by default.
So given the same starting value for variables that you know will have to have the same value in a feasible solution should be good.