Penalty methods transform constrained optimization problems into unconstrained ones by adding penalty terms to the objective function. These methods handle both equality and inequality constraints, balancing objective minimization with constraint satisfaction through a penalty parameter. The approach generates a sequence of subproblems that approximate the original problem. As the penalty parameter increases, solutions converge towards feasibility. Various types of penalty methods exist, including quadratic, exact, and augmented Lagrangian, each with unique characteristics and applications.