An algorithm for the minimax weber problem