Array API Standard Support: optimize#

Support on CPU#

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function/class

torch

jax

dask

BFGS

Bounds

BroydenFirst

HessianUpdateStrategy

InverseJacobian

KrylovJacobian

LbfgsInvHessProduct

LinearConstraint

NonlinearConstraint

OptimizeResult

RootResults

SR1

anderson

N/A

N/A

N/A

approx_fprime

basinhopping

bisect

N/A

N/A

N/A

biteopt

bracket

N/A

N/A

N/A

brent

N/A

N/A

N/A

brenth

N/A

N/A

N/A

brentq

N/A

N/A

N/A

broyden1

N/A

N/A

N/A

broyden2

N/A

N/A

N/A

brute

check_grad

curve_fit

diagbroyden

N/A

N/A

N/A

differential_evolution

direct

dual_annealing

excitingmixing

N/A

N/A

N/A

fixed_point

fmin

N/A

N/A

N/A

fmin_bfgs

N/A

N/A

N/A

fmin_cg

N/A

N/A

N/A

fmin_cobyla

N/A

N/A

N/A

fmin_l_bfgs_b

N/A

N/A

N/A

fmin_ncg

N/A

N/A

N/A

fmin_powell

N/A

N/A

N/A

fmin_slsqp

N/A

N/A

N/A

fmin_tnc

N/A

N/A

N/A

fminbound

N/A

N/A

N/A

fsolve

N/A

N/A

N/A

golden

N/A

N/A

N/A

isotonic_regression

least_squares

leastsq

N/A

N/A

N/A

line_search

✔️

✖

✖

linear_sum_assignment

linearmixing

N/A

N/A

N/A

linprog

linprog_verbose_callback

lsq_linear

milp

minimize

minimize_scalar

N/A

N/A

N/A

newton

newton_krylov

N/A

N/A

N/A

nnls

quadratic_assignment

ridder

N/A

N/A

N/A

root

root_scalar

N/A

N/A

N/A

rosen

✔️

✔️

✔️

rosen_der

✔️

✔️

✔️

rosen_hess

✔️

✔️

✔️

rosen_hess_prod

✔️

✔️

✔️

shgo

show_options

toms748

N/A

N/A

N/A

Support on GPU#

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function/class

cupy

torch

jax

BFGS

Bounds

BroydenFirst

HessianUpdateStrategy

InverseJacobian

KrylovJacobian

LbfgsInvHessProduct

LinearConstraint

NonlinearConstraint

OptimizeResult

RootResults

SR1

anderson

N/A

N/A

N/A

approx_fprime

basinhopping

bisect

N/A

N/A

N/A

biteopt

bracket

N/A

N/A

N/A

brent

N/A

N/A

N/A

brenth

N/A

N/A

N/A

brentq

N/A

N/A

N/A

broyden1

N/A

N/A

N/A

broyden2

N/A

N/A

N/A

brute

check_grad

curve_fit

diagbroyden

N/A

N/A

N/A

differential_evolution

direct

dual_annealing

excitingmixing

N/A

N/A

N/A

fixed_point

fmin

N/A

N/A

N/A

fmin_bfgs

N/A

N/A

N/A

fmin_cg

N/A

N/A

N/A

fmin_cobyla

N/A

N/A

N/A

fmin_l_bfgs_b

N/A

N/A

N/A

fmin_ncg

N/A

N/A

N/A

fmin_powell

N/A

N/A

N/A

fmin_slsqp

N/A

N/A

N/A

fmin_tnc

N/A

N/A

N/A

fminbound

N/A

N/A

N/A

fsolve

N/A

N/A

N/A

golden

N/A

N/A

N/A

isotonic_regression

least_squares

leastsq

N/A

N/A

N/A

line_search

✔️

✔️

✖

linear_sum_assignment

linearmixing

N/A

N/A

N/A

linprog

linprog_verbose_callback

lsq_linear

milp

minimize

minimize_scalar

N/A

N/A

N/A

newton

newton_krylov

N/A

N/A

N/A

nnls

quadratic_assignment

ridder

N/A

N/A

N/A

root

root_scalar

N/A

N/A

N/A

rosen

✔️

✔️

✔️

rosen_der

✔️

✔️

✔️

rosen_hess

✔️

✔️

✔️

rosen_hess_prod

✔️

✔️

✔️

shgo

show_options

toms748

N/A

N/A

N/A

Support with JIT#

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented