You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BudgetOptimizer.allocate_budget() doc string includes the argument minimize_kwargs which is described as consisting of "Extra kwargs for scipy.optimize.minimize". The "extra" is because the BudgetOptimizer.allocate_budget() argument budget_bounds gets passed to scipy.optimize.minimize (though it is processed first. No mention of this in the docstring). But the x0 argument is also passed into scipy.optimize.minimize but there is no mention of this. As a result, the following fails:
The
BudgetOptimizer.allocate_budget()
doc string includes the argumentminimize_kwargs
which is described as consisting of "Extra kwargs forscipy.optimize.minimize
". The "extra" is because theBudgetOptimizer.allocate_budget()
argumentbudget_bounds
gets passed toscipy.optimize.minimize
(though it is processed first. No mention of this in the docstring). But thex0
argument is also passed intoscipy.optimize.minimize
but there is no mention of this. As a result, the following fails:with the following error:
Docstring should be updated or
BudgetOptimizer.allocate_budget()
should handlex0
as an argument.The text was updated successfully, but these errors were encountered: