Exact optical solitons in (n + 1)-dimensions under anti-cubic law of nonlinearity