coin-or / Ipopt

COIN-OR Interior Point Optimizer IPOPT
https://coin-or.github.io/Ipopt
Other
1.41k stars 281 forks source link

z_L, z_U, x_L, x_U, v_L, v_U #708

Closed bharswami closed 11 months ago

bharswami commented 1 year ago

Are z_L, z_U, …. Etc the upper and lower bounds on the respective quantities which we specify at the beginning of the simulation? If so, why are they being reset to zero in the middle of the analysis?

bharswami commented 1 year ago

@svigerske Can you please shed some light on this?

svigerske commented 1 year ago

x_L and x_U are the lower and upper bounds on variables. They shouldn't be reset.

z_L and z_U are the dual variables corresponding to x_L and x_U. I haven't checked, but maybe Ipopt has a reason to reset them. It would allowed to.

v_L and v_U are the dual variables corresponding to slack variables that are introduced when Ipopt reformulates the given problem (TNLP) into its internal form (turning inequalities into equalities). So, they are similar to z_L and z_U.

Some info also at https://coin-or.github.io/Ipopt/classIpopt_1_1TNLPAdapter.html#details

Sorry, haven't had enough time to look at the issue with the nan's. That needs more digging.