Аннотация:A variant of the inverse problem, making use of a Lagrange-type variable, is proposed for variable separation in a system of differential equations which describe the flow of a relaxing mixture of gases in supersonic nozzles. The procedure reduces the computer time required for solution. The method is used to optimize the composition of the active gas mixture with regard to obtaining the maximum population inversion for some classes of nozzles.