A two-dimensional toy optimization problem
As a toy example of an optimization problem in two variables, consider the problem
![]()
(Note that the term ‘‘subject to’’ has been replaced with the shorthand colon notation.)
The problem can be put in standard form
![]()
where:
● the decision variable is
;
● the objective function
, takes values
![]()
● the constraint functions
take values
![Rendered by QuickLaTeX.com \[ \begin{aligned} & f_1(x):=-x_1-1, \\ & f_2(x):=x_1-2, \\ & f_3(x):=-x_2, \\ & f_4(x):=x_2-3. \end{aligned} \]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-5031628d71be2fb295d79da971723f3e_l3.png)
●
is the optimal value, which turns out to be
.
● The optimal set is the singleton
, with
![]()
Since the optimal set is not empty, the problem is attained.
We can represent the problem in epigraph form, as
![]()
![]() |
Geometric view of the toy optimization problem above. The level curves (curves of constant value) of the objective function are shown. The problem amounts to find the smallest value of |
