Localization and traces in open-closed topological Landau-Ginzburg models