Penalty functions are often used in constrained optimization. However, it is very difficult to strike the right
balance between objective and penalty functions. This paper introduces a novel approach to balance objective
and penalty functions stochas