Optimization Methods in Mathematical Modeling of Technological Processes