Greetings,
I am using the solver IPOPT to solve a nonlinear and non-convex problem which was proposed in [1].
In a nutshell, assume we have a bounded variable t which is part of a set D.

During the optimization process, I want the solver to find the upper and lower closest values for t from D. Let say the solver allocates value for t = 0.14; then i want it simultaneously to find two parameters lower = 0.12 and upper = 0.22.
That has to be done during the optimization process not after termination as in some iterative methods.
Thank you.
[1] Soler, E. M., Asada, E. N., da Costa, G. R. M. (2013). Penalty-based nonlinear solver for optimal reactive power dispatch with discrete controls. IEEE Transactions on Power Systems. 28(3):2174-2182.