# \donttest{
# init_cluster(2)
# GBOP2_maxP_singleE(
# nlooks = 1,
# p0 = 0.2,
# p1 = 0.4,
# err1 = 0.05,
# minPower = 0.8,
# totalPatients = 26,
# Nmin_cohort1 = 10,
# Nmin_increase = 5,
# pso_method = "default",
# nParallel = 3,
# seed = 1024,
# nSwarm = 64,
# maxIter = 200
# )
# stop_cluster() # Only if init_cluster() was used
#
message("Run GBOP2_minSS_singleE() manually for real optimization.")
# }
Run the code above in your browser using DataLab