In this paper, we consider the following minimizing problem with two constraints: [Formula: see text] where [Formula: see text] and [Formula: see text] is defined by [Formula: see text] [Formula: see text] Here [Formula: see text], [Formula: see text] and [Formula: see text] [Formula: see text] are given functions. For [Formula: see text], we consider two cases: (i) both of [Formula: see text] and [Formula: see text] are bounded, (ii) one of [Formula: see text] and [Formula: see text] is bounded. Under some assumptions on [Formula: see text] and [Formula: see text], we discuss the compactness of any minimizing sequence.