Random sampling in flowshop scheduling