In this paper, we study a class of stochastic and finite-sum convex optimization problems with deterministic constraints. Existing methods typically aim to find an \(\epsilon\)-expected feasible stochastic optimal solution, in which the expected constraint violation and expected optimality gap are within a prescribed tolerance ϵ. However, in many practical applications, constraints must be nearly satisfied with certainty, rendering such solutions potentially unsuitable due to the risk of substantial violations. To address this issue, we propose stochastic first-order methods for finding an \(\epsilon\)-surely feasible stochastic optimal (\(\epsilon\)-SFSO) solution, where the constraint violation is deterministically bounded by \(\epsilon\) and the expected optimality gap is at most \(\epsilon\). Our methods apply an accelerated stochastic gradient (ASG) scheme or a modified variance-reduced ASG scheme only once to a sequence of quadratic penalty subproblems with appropriately chosen penalty parameters. We establish first-order oracle complexity bounds for the proposed methods in computing an \(\epsilon\)-SFSO solution. Preliminary numerical results are presented to illustrate the performance of the proposed methods.
First-order methods for stochastic and finite-sum convex optimization with deterministic constraints
\(\)