This paper presents a price discrimination model for a manufacturer who acts in two different markets. In order to have a fair price discrimination model and compare monopoly and competitive markets, it is assumed that there is no competitor in the first market (monopoly market) and there is a strong competitor in the other market (competitive market). The manufacturer objective is to maximize the total benefit in both markets. The decision variables are selling price, lot size, marketing expenditure, customer service cost, flexibility and reliability of production process, set up costs and quality of products. The proposed model in this paper is a signomial geometric programming problem which is difficult to solve and find the globally optimal solution. So, this signomial model is converted to a posynomial geometric type and using an iterative method, the globally optimal solution is found. To illustrate the capability of the proposed model, a numerical example is solved and the sensitivity analysis is implemented under different conditions.