 The unconstrained problems are formed by adding a term, called a penalty function, to the objective function that consists of a "penalty parameter" multiplied by a measure of violation of the constraints.The measure of violation is nonzero when the constraints are violated and is zero in the region where constraints are not violated.Let us say we are solving the following constrained problem