Computational methods in portfolio insurance