Stretched Hill
One smooth hill, wider along some axes than others.
f(x) gives the height at the point x: 4 numbers, each from -5 to 5 (numbers outside are moved to the edge). The top is 100.
You get 1,300 calls to f. Submit tries 3 new landscapes: reach 99 or more in all 3.
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More Optimization problems
- Narrow HillMedium
- RipplesMedium
- Sharp PeakMedium
- Six HillsMedium
- Curved RidgeHard
- Many HillsHard
- Ripples in 4DHard
- Sharp Peak in 10DHard