Hi there
I want to inquire about the bounds on nonlinear constraints.
Let's say I have the following (two-sided) nonlinear constraint:
glb <= g(x) <= gub ....... (1)
Assume my bounds are symmetric in the sense that
gb := -glb = gub.
In that case, I can also write the (one-sided) nonlinear constraint:
[g(x)]^2 <= gb^2
....... (2)
Would there be any implications to using (2) instead of (1)? As a rule of thumb, what would Knitro prefer? I once heard a saying that "if you don't need to square, don't do it".
Also, on the same topic, when I have two-sided constraints,
glb <= g(x) <= gub,
instead of two one-sided constraints
g(x) <= gub
-g(x) <= -glb,
does Knitro do something different internally?
Thank you!