%Federica Tinti (ftinti@math.unipd.it)
%Department of Mathematics of Ferrara (ITALY)
%
%map of the Mathiesen test problem
%
function [f]=mathiesen(x)
%
%Reference:
%L. Mathiesen, 'An algorithm based on a sequence of linear complementary 
%problems applied to a Walrasian equilibrium model: an example',
%Mathematical Programming, 37 (1987), pp.1-18.
%
f=-[0.9*(5*x(2)+3*x(3))/x(1)

   0.1*(5*x(2)+3*x(3))/x(2)-5 

   -3];
