So, neither Claude nor ChatGPT were able to write a little javascript program to provide an optimal solution for a suicide burn. Did anyone else have more luck?
I'm not sure if it's optimal, but this is a 2-burn solution that does 1 burn to hit x=20 and another to hit v>=-14 right afterwards: https://gist.github.com/sgentle/d88dd6fe37e76f9167db24379dc7...