We consider a Skorohod map R which takes paths in ℝn to paths which stay in the positive orthant ℝN+. We let 𝒮 be the domain of definition of R. A convex and lower semi-continuous function λ : ℝn → [0, ∞] and a set A ⊂ ℝN+ are given. We are concerned with the calculation of the infimum of the value ∫t0 λ(&omegadot;(s))ds for t ⩾ 0 and absolutely continuous ω ∈ 𝒮 subject to the conditions ω(0) = 0 and R(ω)(t) ∈ A. We show that such minimization problems characterize large deviation asymptotics of tail probabilities of the steady-state distribution of certain reflected processes. We approximate the infimum by a sequence of finite-dimensional minimization problems. This approximation allows to formulate an algorithm for the calculation of the infimum and to derive analytical bounds for its value. Several applications are discussed including large deviations of generalized processor sharing and large deviations of heavily loaded queueing networks.