-
First of all thanks for providing this great tool and now the python version of it! 💯 I just encountered a situation where gridization (bads.py l. 646 in 846cfd0) causes an otherwise valid starting point to violate non_box_cons test (bads.py l. 914 in 846cfd0). the resulting self.u is My non_box_cons' main body is:
Therefore, x0 clears non_box_cons, but self.u doesn't, specifically due to the 3rd condition |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for the detailed error report. Indeed this is a valid point and we should look into it. Gridization can indeed move points around and that might be enough to cause issues. However, looking at The In short, the issue is likely with gridization: that's a real effect. If you have a less-than constraint (as opposed to equal-or-less-than) it is true that two points that satisfy the original constraint (in |
Beta Was this translation helpful? Give feedback.
Thanks for the detailed error report. Indeed this is a valid point and we should look into it. Gridization can indeed move points around and that might be enough to cause issues.
However, looking at
u
is further confounded by the fact thatu
is an internal (possibly nonlinear) transformation ofx
, so a direct comparison ofx
andu
is not necessarily meaningful. You should first transformu
back intox
-space to make any analysis.The
non_box_cons
check should clearly be done inx
-space, not inu
-space (we'll double-check that);u
is part of the inner workings of the algorithm and not something the user should care about, ideally.In short, the issue is likely with gridization: that's a rea…