Application of algorithms with variable greedy heuristics for k-medoids problems