Code for the paper A robust simulation optimization algorithm using kriging and particle swarm optimization f in simulation.m is the black box (test here) function. Run Main.m to optimize over f function in simulation.m file.