For example, we can use the following function:
$$f(x_1, x_2) = 3x_1^2 + 5x_1x_2 + 2x_2^2$$
Now, let's define a set of linear constraints that create a nonempty and bounded feasible region. For example, we can use the following constraints:
$$x_1 + x_2 \leq
Show more…