The semi-inverse method is adopted to establish a family of fractal variational principles of the one-dimensional compressible flow under the microgravity condition, and Cauchy–Lagrange integral is successfully derived from the obtained variational formulation. A suitable application of the Lagrange multiplier method is also elucidated.