Discrete optimization. Sequential schemes of solution. II