Skip to main content
POST
Minimize Multi-Variable Function

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://api.fincept.in/auth/register

Body

application/json
func_name
enum<string>
required

Function to minimize

Available options:
rosenbrock,
sphere,
rastrigin,
quadratic
Example:

"rosenbrock"

x0
number[]
required

Initial guess for the minimum location

Example:
method
enum<string>
default:bfgs

Optimization method

Available options:
bfgs,
nelder_mead
Example:

"bfgs"

tol
number
default:1e-8

Convergence tolerance

Example:

1e-8

Response

Successful Response

success
boolean
Example:

true

data
object