Closed a-torgovitsky closed 4 years ago
Done! I have fixed the part where none of the candidate bounds satisfy the constraints in the minimization problem when alpha = 0
.
Hence, the list of candidate bounds in the constraints are empty and resulted in the error.
Since checking alpha = 0
is not useful and could be problematic, I have dropped that part from the bisection.
This did not happen in the unit test with the sample data so I am sorry that it could not catch the error.
Thanks!
produces
This type of bug could be caught easily with a unit test!