%Federica Tinti (ftinti@math.unipd.it)
%Department of Mathematics of Ferrara (ITALY)
%
%map of Pang & Murphy's Nash-Cournot test problem
%
function [f]=PMnashc10(x)
%
%NASH-COURNOT test problem  (n=10) 
%
%Reference:
%J.-S. Pang, S.A. Gabriel, 'NE/SQP: A robust algorithm for the nonlinear 
%complementarity problem', Mathematical Programming, 60 (1993), pp.295-337.
%
%F.H. Murphy, H.D. Sherali, A.L. Soyster, 'A mathematical programming 
%approach for determining oligopolistic market equilibrium', 
%Mathematical Programming, 24 (1982), pp. 92-106.
%
L=10*ones(10,1);
b1=[1.2 1 0.9 0.6 1.5 1 0.7 1.1 0.95 0.75]';
c=[5 3 8 5 1 3 7 4 6 3]';
gamma=1.2;
gamma1=1./gamma;
temp=sum(x);
aux=1./b1;
f=c+L.^(-aux).*x.^(aux)-(5000/temp).^(gamma1)*(ones(size(x))-gamma1*x/temp);