A farmer has a rectangular ground of 100 m by 50 m, he wants to plant olive trees, in sufficiently spaced ways (to avoid exhaustion by the roots) at least 10 meters from each other.
How much can one hope to put at the most, effectively?
A farmer has a rectangular ground of 100 m by 50 m, he wants to plant olive trees, in sufficiently spaced ways (to avoid exhaustion by the roots) at least 10 meters from each other.
How much can one hope to put at the most, effectively?
I believe the answer is
67$68$
as shown in the flower kind figure below (This is the previous answer):
The idea behind this is
Starting to plant from the left and the right at the same time
to the right, you will lose one tree every 1.8 meters as you see in the figure but gain 0.1 meter compared to putting trees all the corners etc. So after 10 trees, you will have an extra 6 tree to put as you see on the right side of the flower graph even though you lose 1 tree every 1.8 meters. At the end you will able to get extraonetwo trees to put in your farm compared to standard way of putting trees!
Here is the best answer:
The main difference is actually starting from left and the right, after completing one vertical plantation, go for the next from the furthest point to the area in the farm
as you will see below:
As in my answer to My Mother's Dish Collection, I used a nonlinear optimization solver, with variables $x_i$, $y_i$ to represent the coordinates of the trees. The constraints are: \begin{align} 0 \le x_i &\le 100 &&\text{for $i\in\{1,\dots,68\}$}\\ 0 \le y_i &\le 50 &&\text{for $i\in\{1,\dots,68\}$}\\ (x_i - x_j)^2 + (y_i - y_j)^2 &\ge 10^2 &&\text{for $1\le i<j\le 68$} \end{align} The first two constraints make sure each tree is contained in the rectangle, and the third constraint enforces a distance of at least 10 between trees.
The resulting $x$ and $y$ coordinates returned by the solver are essentially the same as @Oray's packing.
The solver was not able to find a feasible solution for 69 trees, but I have no proof that 68 is the maximum.
50, all centered within an equidistant grid marked out at 10m intervals. No trees should be planted on the border/s, as any good farmer knows the fruit falling on his neighbors' property is lost, so, grid off the 50/100 field at 10 m intervals, center the trees within each square avoiding the property lines.