%script (inputHpHard30box.m)
%Federica Tinti (ftinti@math.unipd.it)
%Department of Mathematics of Ferrara (ITALY)
%
%VIP constraints of the HPHard test problem
%the related M-function file is HPHard.m 

n=30;                   %dimension
%
%to build affine function F=M5*x+q5
global M5 q5
%
rand('state',0);
A5=rand(30)*10-5;
B5=rand(30)*10-5;
B5=tril(B5,-1)-((tril(B5,-1))')+diag(zeros(30,1));
M5=A5*A5'+B5+diag(rand(30,1)*0.3);
q5=500*rand(30,1)-500;
%
%starting point
x=ones(n,1);
%
%constraint (NCP)
A=zeros(1,n);           %constraint (A*x<=b)
b=0;                    
Aeq=[];                 %equality constraint (Aeq*x=beq)
beq=[];                 
lb=zeros(n,1);          %lower bound
ub=[];                  %upper bound
%
%function F
fs='HpHard';