When tot at Cobyla.java:879 is very small, this line evaluates to temp = 0.0. This causes line 880 to divide by zero, evaluating to alpha = NaN. This eventually causes both step and stepful to both be NaN, which causes Cobyla.java:1165 to always evaluate to false (because (NaN == NaN) == false), looping forever.
This is annoying since it makes the algorithm unusable for production purposes.
When
totatCobyla.java:879is very small, this line evaluates totemp = 0.0. This causes line 880 to divide by zero, evaluating toalpha = NaN. This eventually causes bothstepandstepfulto both beNaN, which causesCobyla.java:1165to always evaluate to false (because(NaN == NaN) == false), looping forever.This is annoying since it makes the algorithm unusable for production purposes.