* Test problem 10.2.5 in the web page * Test problem 10.3.5 in test problem collection SETS I Firms /1*10/; ALIAS (J,I); PARAMETER C(i) Scalar Parameter/ 1 5.0 2 3.0 3 8.0 4 5.0 5 1.0 6 3.0 7 7.0 8 4.0 9 6.0 10 3.0 /; PARAMETER L(i) Scalar Parameter; L(i) = 10; PARAMETER Beta(i) Scalar Parameter/ 1 1.2 2 1.0 3 0.9 4 0.6 5 1.5 6 1.0 7 0.7 8 1.1 9 0.95 10 0.75 /; PARAMETER Gamma Elasticity of Demand; Gamma = 1.2; POSITIVE VARIABLES P market price, x(i) Quantity Produced; EQUATIONS Feas; Feas(i) .. c(i) + (L(i) * x(i))**(1/Beta(i)) - (5000/(sum(j, x(j))))**(1/Gamma) - x(i) * (-1/gamma) * ( (5000 / (sum(j, x(j))))**(1/gamma) ) / sum(j, x(j)) =g= 0; MODEL NASH /Feas.x/; x.l(i) = 5; P.l = (5000/Sum(i, x.l(i)))**(1/Gamma); SOLVE NASH using mcp;