% Papageorgiou, 1996
%
% x0 = 2
% goals: S* = [0.5 0.5]'
% weights: w = [0.5 0.5]'
% xo = 0.1429
% S(xo) = [1.0102 1.0102]'

xo=[];
So=[];
F1=[];
F2=[];
lb=0;
gamao=[];
goal = [1; 0.5];
for w1=0:0.1:1
   w=[w1 1-w1];
   [x,S,gama,ex,out,lambda]=fgoalattain('test18',2,goal,w,[],[],[],[],lb)
   xo=[xo x];
   So=[So S];
   gamao=[gamao gama];
   F1=[F1 S(1)];
   F2=[F2 S(2)];
end
w=[0:0.1:1];
