Before revision:  The absence of arbitrage opportunities is guaranteed by penalizing the loss using soft constraints on an extended grid of input values.
After revision:  The absence of arbitrage opportunities by penalizing the loss using soft constraints on an extended grid of input values.