% Put randstream at its initial setting. You'll get reproducible, % but slow, results in serial mode. % reset(RandStream.getDefaultStream); % % Set up the parameters, bounds, initial iterate for the solve. % NumberSims = 500; RELmin=.995; CVARmax=1.1; iRo = 1500000; ifri = 0.3; LRGV_str=struct('NumberSims',NumberSims,'RELmin',RELmin,... 'CVARmax',CVARmax,'ifri',ifri,'iRo',iRo); % budget = 200; % % This is the initial iterate % x0=[40000,10000,1.1,1.3,.85,1.10]'; % % Here are some other initial iterates that give different results. % % x0=[40000,10000,1,1.1,.8,1.0]'; % x0=[40000,0,1.0,1.5,.8,1.0]'; bounds = [24000 40000; 0 10000; .7 2.2; .7 2.2; .7 2.2; .7 2.2]; [f,ifail,icount] = LRGV_Cost(x0,LRGV_str), [f,ifail,icount] = LRGV_Cost(x0,LRGV_str), [f,ifail,icount] = LRGV_Cost(x0,LRGV_str),