Skip to main content
`Ctrl`+`K`

# Array API Standard Support: `optimize`

## Support on CPU

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function | torch | jax | dask
--- | --- | --- | ---
anderson |  |  |
approx_fprime |  |  |
basinhopping |  |  |
bisect |  |  |
bracket |  |  |
brent |  |  |
brenth |  |  |
brentq |  |  |
broyden1 |  |  |
broyden2 |  |  |
brute |  |  |
check_grad |  |  |
curve_fit |  |  |
diagbroyden |  |  |
differential_evolution |  |  |
direct |  |  |
dual_annealing |  |  |
excitingmixing |  |  |
fixed_point |  |  |
fmin |  |  |
fmin_bfgs |  |  |
fmin_cg |  |  |
fmin_cobyla |  |  |
fmin_l_bfgs_b |  |  |
fmin_ncg |  |  |
fmin_powell |  |  |
fmin_slsqp |  |  |
fmin_tnc |  |  |
fminbound |  |  |
fsolve |  |  |
golden |  |  |
isotonic_regression |  |  |
least_squares |  |  |
leastsq |  |  |
line_search |  |  |
linear_sum_assignment |  |  |
linearmixing |  |  |
linprog |  |  |
linprog_verbose_callback |  |  |
lsq_linear |  |  |
milp |  |  |
minimize |  |  |
minimize_scalar |  |  |
newton |  |  |
newton_krylov |  |  |
nnls |  |  |
quadratic_assignment |  |  |
ridder |  |  |
root |  |  |
root_scalar |  |  |
rosen | ✔️ | ✔️ | ✔️
rosen_der | ✔️ | ✖ | ✔️
rosen_hess | ✔️ | ✔️ | ✔️
rosen_hess_prod | ✔️ | ✖ | ✔️
shgo |  |  |
show_options |  |  |
toms748 |  |  |

## Support on GPU

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function | cupy | torch | jax
--- | --- | --- | ---
anderson |  |  |
approx_fprime |  |  |
basinhopping |  |  |
bisect |  |  |
bracket |  |  |
brent |  |  |
brenth |  |  |
brentq |  |  |
broyden1 |  |  |
broyden2 |  |  |
brute |  |  |
check_grad |  |  |
curve_fit |  |  |
diagbroyden |  |  |
differential_evolution |  |  |
direct |  |  |
dual_annealing |  |  |
excitingmixing |  |  |
fixed_point |  |  |
fmin |  |  |
fmin_bfgs |  |  |
fmin_cg |  |  |
fmin_cobyla |  |  |
fmin_l_bfgs_b |  |  |
fmin_ncg |  |  |
fmin_powell |  |  |
fmin_slsqp |  |  |
fmin_tnc |  |  |
fminbound |  |  |
fsolve |  |  |
golden |  |  |
isotonic_regression |  |  |
least_squares |  |  |
leastsq |  |  |
line_search |  |  |
linear_sum_assignment |  |  |
linearmixing |  |  |
linprog |  |  |
linprog_verbose_callback |  |  |
lsq_linear |  |  |
milp |  |  |
minimize |  |  |
minimize_scalar |  |  |
newton |  |  |
newton_krylov |  |  |
nnls |  |  |
quadratic_assignment |  |  |
ridder |  |  |
root |  |  |
root_scalar |  |  |
rosen | ✔️ | ✔️ | ✔️
rosen_der | ✔️ | ✔️ | ✖
rosen_hess | ✔️ | ✔️ | ✔️
rosen_hess_prod | ✔️ | ✔️ | ✖
shgo |  |  |
show_options |  |  |
toms748 |  |  |

## Support with JIT

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function | jax
--- | ---
anderson |
approx_fprime |
basinhopping |
bisect |
bracket |
brent |
brenth |
brentq |
broyden1 |
broyden2 |
brute |
check_grad |
curve_fit |
diagbroyden |
differential_evolution |
direct |
dual_annealing |
excitingmixing |
fixed_point |
fmin |
fmin_bfgs |
fmin_cg |
fmin_cobyla |
fmin_l_bfgs_b |
fmin_ncg |
fmin_powell |
fmin_slsqp |
fmin_tnc |
fminbound |
fsolve |
golden |
isotonic_regression |
least_squares |
leastsq |
line_search |
linear_sum_assignment |
linearmixing |
linprog |
linprog_verbose_callback |
lsq_linear |
milp |
minimize |
minimize_scalar |
newton |
newton_krylov |
nnls |
quadratic_assignment |
ridder |
root |
root_scalar |
rosen | ✔️
rosen_der | ✖
rosen_hess | ✔️
rosen_hess_prod | ✖
shgo |
show_options |
toms748 |