Polytropic anti-de Sitter black hole