Global Function Optimizer

Live Tool

Uses SciPy's differential_evolution to find the global minimum of any 1D or 2D mathematical expression across user-defined bounds.

Python FastAPI SciPy Differential Evolution Plotly

Inputs

Configure dimensionality, function, and search bounds.

Available: sin, cos, tan, exp, log, log10, sqrt, abs, sinh, cosh, tanh, pi, e

Results

Optimization summary, status, and minimum location.

x optimal
f minimum
Iterations
Evaluations
Status Awaiting run

Landscape

Interactive function landscape with identified global minimum.

Ready to Optimize

Select a preset or enter a custom function, then run the optimizer to visualize the search landscape.

Technical Note

This demo uses stochastic global optimization rather than local gradient descent, allowing it to escape local minima and explore broader design spaces more reliably.