FIND OPTIMUM VALUE FROM THE CURVE

Applies a hill-climbing search algorithm to a curve to find its optimal (minimum or maximum) Y value within a specified X range. Use this worker when you need to locate an extremum on a noisy or complex curve without requiring gradient information.

When to use

Classification: process.

Tagged: curve, extremum, hill_climbing, maximum, minimum, optimization, search.

Inputs

Label ID Type Default Required Description
Curve curve vector   Input curve (X/Y vector) on which the hill-climbing search is performed; must be provided as a d3VIEW curve object.
Curve objective list minimize   Optimization direction: choose ‘minimize’ to find the lowest Y value or ‘maximize’ to find the highest; defaults to ‘minimize’.
Min Time Window start_x scalar 0.0   Left boundary of the X search window; set to 0.0 to start from the beginning of the curve (same units as the curve’s X axis).
Max Time Window end_x scalar 0.0   Right boundary of the X search window; set to 0.0 to search through the end of the curve (same units as the curve’s X axis).
Step Size For X step_sizefor_x scalar 0.0001   Increment by which X is advanced at each hill-climbing step; smaller values increase precision but raise iteration cost (default 0.0001, same units as the curve’s X axis).
Number Of Iterations numberof_iterations scalar 100   Maximum number of hill-climbing iterations to perform before stopping; increase beyond the default of 100 for wider or finer search windows.

Outputs

Label ID Type Description
curve_hill_climbing_output_1 curve_hill_climbing_output_1 scalar Scalar X-axis value at which the optimal (minimum or maximum) Y value was found on the input curve.

Disciplines

  • data.curve.transform
  • design_exploration.optimization

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_hill_climbing


Auto-generated from transformation schema. Worker id: curve_hill_climbing. Schema hash: e1e4b27c5243. Hand-curated docs in workerexamples/ override this page when present.