First of all thank you for the great work! I was happy to see BOBYQA for Python :)
When calling pybobyqa.solve() with x0 being a list I get
File "...\pybobyqa\solver.py", line 750, in solve
x0[idx] = xl[idx] + rhobeg
TypeError: only integer scalar arrays can be converted to a scalar index
This could be solved by checking if x0 is a list and then converting it to an array by using
x0 = numpy.array(x0)
I think this could be more convenient for the user who is maybe used to call the scipy-optimizers in conjunction with a list.
First of all thank you for the great work! I was happy to see BOBYQA for Python :)
When calling pybobyqa.solve() with x0 being a list I get File "...\pybobyqa\solver.py", line 750, in solve x0[idx] = xl[idx] + rhobeg TypeError: only integer scalar arrays can be converted to a scalar index
This could be solved by checking if x0 is a list and then converting it to an array by using x0 = numpy.array(x0) I think this could be more convenient for the user who is maybe used to call the scipy-optimizers in conjunction with a list.