METHOD FOR OPTIMIZING A FERMENTATION PROCESS