Skip to content

Sunday Times Teaser 3286 – Water Stop

by BRG on September 14, 2025

by Howard Williams

Published Sunday September 14 2025 (link)

Chuck and his brother live on a long straight road that runs from west to east through their ranches. Chuck’s ranch is 13 km west of his brother’s. The two brothers often go from one ranch to the other on horseback, but go via a nearby river so that their horses may be watered. The shortest route via the river consists of two straight sections, one being 11 km longer than the other. The point at which they reach the river is 6 km north of the road.

What is the total length of the route between the ranches that goes via the river?

From → Uncategorized

7 Comments Leave one →
  1. BRG permalink

    This one requires the solution of two simultaneous equations, one linear and one quadratic. This is straightforward in Mathematica and once the equations are produced there is no Python left to code. Here is my Mathematica code:

  2. Frits permalink

    The answer doesn’t seem to make much sense.

    • Frits permalink

      Most MiniZinc solvers (other than SCIP) can’t solve this model
      For some reason get_model(“int”) doesn’t seem to work.

  3. GeoffR permalink

    A Solution in Python using ChatGPT to generate the code.

    • Frits permalink

      perplexity.ai for this Teaser gives an incorrect answer and generates Python code that causes a “ValueError”.

      • GeoffR permalink

        @Frits:
        If you ask it to do a manual solution, it gave the answer.for me.

  4. GeoffR permalink

    After ChatGPT produced the SymPy solution, I asked AI to come up with a faster solution. It produced a numerical binary search solution which fulfilled the brief.

Leave a Reply

Note: HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS