☀️ Solar-Farm Layout

Eight rows of panels run across a field at fixed spacing, and we choose each row's tilt. A row captures most energy near a sweet-spot tilt, but a steeper row casts a longer shadow on the row behind it. So front rows trade off (tilt down to avoid shading the next row, at a small capture loss) while the back row, shading no one, wants the capture-optimal tilt. Score is negative net energy, to minimise. 8-D.

Algorithm

Net energy
Layouts tried0
Best so far

Leaderboard

AlgorithmEnergyEvals
— no runs yet —

What's happening

The JS objective is a line-for-line port of example_applications/solar_farm_layout and agrees to floating-point tolerance. Each segment is a panel row tilted by its angle; orange rows capture well, and a red bracket marks where a row over-tilts and shades the one behind it.