function x = p14_start ( n )

%*****************************************************************************80
%
%% p14_start returns a starting point for optimization for problem 14.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 March 2000
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of variables X.
%
%  Output:
%
%    real X(N), a starting point for the optimization.
%
  x = zeros ( n, 1 );

  for i = 1 : n
    if ( mod ( i, 2 ) == 1 )
      x(i) = - 1.2;
    else
      x(i) = 1.0;
    end
  end

  return
end
