Sea el problema de optimización:
Min f ( x _ ) = ( x 1 − 4 ) 2 + ( x 2 + 1 ) 2 {\displaystyle f({\underline {x}})=(x_{1}-4)^{2}+(x_{2}+1)^{2}}
s.a:
x 1 + x 2 ≤ 3 {\displaystyle x_{1}+x_{2}\leq 3}
x 2 ≤ 2 {\displaystyle x_{2}\leq 2}
x 1 , x 2 ≥ 0 {\displaystyle x_{1},x_{2}\geq 0}
Solución