load risk_rate.dat

tic;

best_vaf = 0.0;
store_vaf = zeros(1000,1);

for i = 1:1000
    
    [find,vaf,targone,targtwo,outpermone,outpermtwo] = ...
        ms_biarobfnd(risk_rate,randperm(18),3);
    
    store_vaf(i) = vaf;
    
    if (vaf > best_vaf)
        
        best_vaf = vaf;
        best_find = find;
        best_targone = targone;
        best_targtwo = targtwo;
        best_outpermone = outpermone;
        best_outpermtwo = outpermtwo;
        
    end
    
end

sorted_vafs = sort(store_vaf');

sorted_vafs;

best_vaf
best_find
best_targone
best_targtwo
best_outpermone
best_outpermtwo

toc;
