Possible spurious failure in Pysmo kriging tests
Closed this issue · 3 comments
lbianchi-lbl commented
This occurred in https://github.com/IDAES/idaes-pse/actions/runs/6041051733 for a single job run and seems unrelated to #1253.
andrewlee94 commented
The Pysomo tests are known to have an issue with non-deterministic behavior. Specifically, I think it is because the sampling steps are not seeded and thus we get a new set of sample points each time we run the tests and occasionally this results in an infeasible solution.
OOAmusat commented
@lbianchi-lbl @ksbeattie This is due to random number generation with NumPy/SciPy in the initialization and solution steps.
I have attempted to fix the issue by fixing the numpy random seed generator for this test (PR #1264), but since it is a random failure there is no way to know if the fix works.