MATLAB: Use penalty function for constraint optimization

alotthanks

i have problem that consist nonlinear programming problem with 70 equlity constraint with and 15 variables. i would convert this problem to unconstrainted optimization with penalty function, max f(x) st: h(x)=0 for j=1 to 70; penalty function=f(x)+lambda(h1(x)^2+h2(x)^2+h3(x)^3 …. h70(x)^2)
that lambda positive penalty constant for example 2 is this convert is true?

Best Answer

plese answer my befor question about use penalty function
thanks alot
Related Question