The amount of generated waste, which increases every year, is a serious problem of the modern world. In particular, attention should be paid to hazardous waste and methods of its disposal. One of the most used in this context is thermal treatment in dedicated incinerators equipped with a rotary kiln. Conducting the process requires, inter alia, supplying the furnace with a batch of batch material with appropriate parameters. Improper operation in this regard may cause negative environmental effects and operational problems. The key here is to select different types of hazardous waste and compose batch portions. The paper presents an application that optimizes the work of waste incineration plant operators. At the same time, this tool can be described as ensuring security at this stage of the process. The application implements an ant colony algorithm that selects the optimal solution to the problem, which has been formulated here as the types and masses of the batch mixture components with given parameters. The application has been tested in the laboratory and real conditions with satisfactory results.