The simplex method in the optimization discrete simulations of complex industrial plants: theory, applications comparisons