Optimization with Inequality Constraints

The optimization problems subject to inequality constraints can be generally formulated as:

#math782#   #tex2html_wrap_indisplay19860# (165)
Again, to visualize the problem we first consider an example with #tex2html_wrap_inline8466# and #tex2html_wrap_inline8468#, as shown in Fig. #KKT0a#3847> for the minimization (left) and maximization (right) of #tex2html_wrap_inline8470# subject to #math783##tex2html_wrap_inline8472#. Here the constrained solution #math784##tex2html_wrap_inline8474# is on the boundary of the feasible region satisfying #tex2html_wrap_inline8476#, while the unconstrained extremum is outside the feasible region.

<#19867#>Figure<#19867#> 2.20: <#19868#>Inequality Constrained Optimization<#19868#>
[width=120mm]<#3852#>figures/KKT0a.eps<#3852#>

We consider the following two possible cases.

Summarizing the two cases above, we see that #math795##tex2html_wrap_inline8512# but #tex2html_wrap_inline8514# in the first case of an inactive constraint, and #math796##tex2html_wrap_inline8516# but #tex2html_wrap_inline8518# in the second case of an active constraint, i.e., the following holds in both cases:

#math797#   #tex2html_wrap_indisplay19909# (173)

The discussion above can be generalized from 2-D to #tex2html_wrap_inline8520# dimensional space, in which the optimal solution #tex2html_wrap_inline8522# is to be found to extremize the objective #tex2html_wrap_inline8524# subject to #tex2html_wrap_inline8526# inequality constraints #math798##tex2html_wrap_inline8528#. To solve this inequality constrained optimization problem, we first construct the Lagrangian:

#math799#   #tex2html_wrap_indisplay19916# (174)
where #math800##tex2html_wrap_inline8530# is a vector for #tex2html_wrap_inline8532# Lagrange multipliers. (We note that in some literature, a plus sign is used in front of the summation of the second term. This is equivalent to our discussion here so long as the sign of #tex2html_wrap_inline8534# indicated in Table #PolarityTable#3969> is negated.) Now Eq. (#mugeqz#3970>) can be written as
#math801#   #tex2html_wrap_indisplay19921# (175)

We then set the gradient of the Lagrangian to zero:

#math802#   #tex2html_wrap_indisplay19923# (176)
and get two equation systems of #tex2html_wrap_inline8536# and #tex2html_wrap_inline8538# equations, respectively:
#math803#   #tex2html_wrap_indisplay19927# (177)
and
#math804#   #tex2html_wrap_indisplay19929# (178)

The result above for the inequality constrained problems based on Eq. (#LagrangianInequality#4007>) looks the same as that for the equality constrained problems based on Eq. (#LagrangianEquality#4008>), but with an additional requirement regarding the sign of the Lagrange multipliers. For an equality constrained problem, the direction of the gradient #math805##tex2html_wrap_inline8540# is of no concern, i.e., the sign of #tex2html_wrap_inline8542# is unrestricted; but here for an inequality constrained problem, the sign of #tex2html_wrap_inline8544# needs to be consistent with those shown in Table #PolarityTable#4010>, unless when the constraint is inactive and #tex2html_wrap_inline8546#.

We now consider the general optimization of an N-D objective function #tex2html_wrap_inline8548# subject to multiple constraints of equalities and inequalities:

#math806#   #tex2html_wrap_indisplay19936# (179)
For notational convenience, we denote the #tex2html_wrap_inline8550# equality and inequality constraints in vector form as:
#math807#   #tex2html_wrap_indisplay19939# (180)
where #math808##tex2html_wrap_inline8552# and #math809##tex2html_wrap_inline8554#.

To solve this optimization problem, we first construct the Lagrangian

#math810#   #tex2html_wrap_indisplay19943# (181)
where the Lagrange multipliers in #math811##tex2html_wrap_inline8556# and #math812##tex2html_wrap_inline8558# are for the #tex2html_wrap_inline8560# equality and #tex2html_wrap_inline8562# non-negative constraints, respectively. We then set to zero the gradient of #math813##tex2html_wrap_inline8564# with respect to both #math814##tex2html_wrap_inline8566# and #math815##tex2html_wrap_inline8568# as well as #tex2html_wrap_inline8570#.
#math816#   #tex2html_wrap_indisplay19953# (182)
Solving these equation systems we get the solution #tex2html_wrap_inline8572#. While #tex2html_wrap_inline8574# can be either positive or negative, the sign of #tex2html_wrap_inline8576# needs to be consistent with those specified in Table #PolarityTable#4102>. Otherwise the inequality constraints is inactive.

<#4103#>Example:<#4103#>

Find the extremum of #math817##tex2html_wrap_inline8578# subject to each of the three different constraints: #tex2html_wrap_inline8580#, #tex2html_wrap_inline8582#, and #tex2html_wrap_inline8584#.

<#19961#>Figure<#19961#> 2.22: <#19962#>Constrained Optimization Example 1<#19962#>
[width=70mm]<#4105#>figures/optConstrainedEx.eps<#4105#>

  • #math818#   #tex2html_wrap_indisplay19965#  
    The Lagrangian is:
    #math819#   #tex2html_wrap_indisplay19967#  
    Solving the following equations
    #math820#   #tex2html_wrap_indisplay19969#  
    we get #math821##tex2html_wrap_inline8586#, i.e., the function is minimized at #math822##tex2html_wrap_inline8588#. We note that #tex2html_wrap_inline8590# and #tex2html_wrap_inline8592# have the same gradients at #math823##tex2html_wrap_inline8594#:
    #math824#   #tex2html_wrap_indisplay19976#  

  • Consider these two problems:
    #math825#   #tex2html_wrap_indisplay19978#  
    These problems are the two middle cases (2 and 3) in Table #PolarityTable#4141>. They have the same Lagrangian as above with the same results #math826##tex2html_wrap_inline8596# and #tex2html_wrap_inline8598#. According to Table #PolarityTable#4142>, #tex2html_wrap_inline8600# is the solution for the minimization problem subject to #math827##tex2html_wrap_inline8602# (left), or the maximization problem subject to #math828##tex2html_wrap_inline8604#.

  • Consider these two problems:
    #math829#   #tex2html_wrap_indisplay19985#  
    These problems are cases 1 and 4 in Table #PolarityTable#4158>. Again they have the same Lagrangian as in the previous cases and the same results #math830##tex2html_wrap_inline8606#, and #tex2html_wrap_inline8608#. According to Table #PolarityTable#4159>, #tex2html_wrap_inline8610# is <#4161#>not<#4161#> the solution of either of the two problems, i.e., the constraint is inactive. We therefore need to assume #tex2html_wrap_inline8612# and solve the following equations for an unconstrained problem:
    #math831#   #tex2html_wrap_indisplay19991#  
    Now we get #tex2html_wrap_inline8614# and #math832##tex2html_wrap_inline8616#, with minimum #math833##tex2html_wrap_inline8618#. This is the solution for the minimization problem (right), at which #math834##tex2html_wrap_inline8620#, i.e., the constraint is inactive. However this is not the solution for the maximization problem as the function is unbounded from above.