multistageoptimum.nlm(corr, ini.value,
Budget, CostC, CostTv, Nf, iterlim, alg,N.upper, N.lower)alg = GenzBretz(), which is by default, the quasi-Monte Carlo algorithm from Genz (2009) will be used. If alg = Miwa(), the program will use the Miwa algorithm (Mi et. al., 2009), whiccorr=matrix( c(1, 0.3508,0.3508,0.4979,
0.3508 ,1, 0.3016,0.5630,
0.3508, 0.3016,1 ,0.5630,
0.4979, 0.5630,0.5630,1),
nrow=4
)
multistageoptimum.nlm(N.upper=rep(100,3), corr=corr, Budget=200,
CostC=0.5, Nf=5)Run the code above in your browser using DataLab