A goal programming model is developed for the optimal scheduling of gas in an iron and steel plant. In the model the gas stored in the gas holder is divided into three parts. Each part is given a different price in order to make the gas stored in the gas holder keep at a reasonable level. The model can give the optimal gas allocation scheme whenever the gas is abundant or in shortage. Numerous simulation computations of the model prove that it is feasible and effective.