Cross‐country sailplane flight as a dynamic optimization problem | Synapse