Triangulation for seismic modelling with optimization techniques