In conditions of monopolistic position of enterprises, they exhibit unrestrained tendency to increase the prices of their products, without taking care for full utilization of their production capacities. Such a situation may occur in the planned and as well as the free-market national economy. The decision center is able to counteract this tendency by introducing a proper system of income taxes, which results in the optimal prices providing the maximal profit. Simultaneously, due to the high level of the prime costs of small production series, there exists some threshold value in the relation between profit and production rate. If the production rate is less than this value, it is unprofitable. For reasons mentioned, the problem of enterprise profit optimization in the case of production capacities constrained, is a non-trivial mathematical programming problem. It is a mixed discrete-continuous optimization problem: the decision variables connected with selecting ranges of products are of discrete (zero-one) type: the decision variables associated with the choice of the optimal production rate are continuous. The paper presents an optimization algorithm which can be used to solve this mixed discrete-continuous decision problem. The worked out method can be also applied to other socio-economic decision problems of similar type.