The paper presents a fuzzy algorithm for production efficient programming in the chemical and metallurgical industry. The algorithm supplies a production program which to observe the delivery terms, certain priorities taking place during the considered programming period and minimizes the expenses of passing from a products batch to another one.