Geodesics on an ellipsoid in Minkowski space