I am curious how are you planning to cope with aeroelasticity issues in near-earth turbulence. Given low air speed, low wing loading, and huge aspect ratio this is going to be an issue. I suspect that most of the previous projects failed because of these issues combined with tight requirements on very light-weight structures.
Winds up to 20 km are NOT quite calm. They can max out to 60 m/s at height of 10 km, which is more than 3 times than enough to blow a solar aircraft far-far away. You have to choose proper meteo conditions for climbing and descending and plan the trajectory taking into account those winds to be able to land at a given place.
I've been analyzing GFS data a couple of years ago for similar project. The problem is that lack of energy demands to design a really low speed aircraft for low densities that you can find in stratosphere. At 10 km winds are stronger than in stratosphere and density is higer.
You can find the results in https://journals.sagepub.com/eprint/GVXWXDABPE6A8PNRGTBU/ful....
The whole aircraft model probably is not like yours and is subject to many conservative estimates, but I am pretty much sure that wind model is accurate in this publication and generalizable to different regions.
In US you end up being free, but treated like a spy by some funding agency. In Russia you end up in prison having no hope of getting back. Arrested in April 2021, 69 year old professor Golubkin is still in remand prison. https://meduza.io/en/feature/2021/04/13/another-treason-case accused for governmental treason.
Take, for example, Tcl brutforce, Clojure and Wolfram which is written to only solve an example with words.
Implementation in D does not seem to be right: they just define a function that takes list of lists and a function, which is not exactly what is required in problem statement.