Chapter 13 - Nonlinear BOOK Flashcards

1
Q

Formally define the non linear programming problem

A

We use something like the standard form here.

We want to find x = (x1, x2, …, xn) such that we

max f(x)

subject to

gi(x) <= bi, for i=1,..,m

and

x>= 0

So, we do a couple of changes relative to the linear programming problem:
1) We refer to the objective function as f(x), indicating that we are essentially using any type of function here. This stands in contrast with the linear programming objective function, that is explicitly given as a sum of products, making it linear.

2) The same argument/point with the constraints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is non linear programming a particularily large subject?

A

It is large because there are a huge variety of classes of functions we can look at. We have some methods that work very well on some problems, and not at all on others etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define a convex function of a single variable

A

A function of a single variable is said to be convex if the following applies:

For each pair of values, x’ and x’’, such that x’ < x’’, we have that:

f[λx’’ + (1 - λ)x’] <= λf(x’’) + (1-λ)f(x’)

.. for all values of lamda between 0 and 1.
We furhter say that the function is strictly convex if we can replace ‘<=’ with ‘<’.

So, what is this saying?

The LHS takes the function value of the sum of lambda times the x’’ and (1-lambda) times x’. In this case, lambda is sort of like a weight. If lambda is 0.25, it means that we are at 25% of the distance between x’ and x’’. So, when LHS take this as the function parameter/argument, the argument becomes the x-value of 25% between x’ and x’’. Therefore, the f(x) gives the y-value corresponding to this specific point.

The RHS does the same, but with y-value. RHS follow straight line, LHS follow the non-linear path.
IF the non-linear path is below the straight line at all value sof lambda and any pair of x’ and x’’, then we have a convex function.

IT IS ALSO WORTH NOTING that if we flip the inequality from <= to >=, we basically do the concavity test instead of convexity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the formal mathematical definition/requirement of convexity?

A

A function is convex if and only if the second derivative is always greater than 0.
NB: This is single variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the formal mathematical definition/requirement of convexity when the function is of many variables?

A

We say the function is convex if its Hessian is positive semi-definite for all possible values of x1, x2, …, xn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the “negative” property of convex/concave functions?

A

If we have a convex function f(x1,x2,..,xn), then g= -f(x1,x2,…,xn) is CONCAVE and vice versa.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the sum property of convex/concave functions?

A

A sum of convex functions is convex. A sum of concave functions is also concave.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define a convex set

A

Say we have a convex function. Then the collection of points lying ABOVE and ON the graph of the convex function, is said to be a convex set.

We can also get a convex set from a concave function:
If we have a concave function, then the collection of points lying BELOW and ON the graph of the concave function, is said to be a convex set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an important property of convex sets?

A

For any collection of convex sets, the collection of points lying in ALL (/both) sets are convex in both, i.e. the intersection of the convex sets, is a convex set in itself.

the image illustrate this property. Notice how the third graph(s) is the intersection set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Formally define the convex set

A

A convex set is a collection of points such that, for each pair of points in the set, a straight line connecting the pair of points is also in the collection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Will the solution for non linear programming problems be CPF solutions?

A

Not necessarily. There exists constraints and objectiuve functions that will give this, but generally they do not.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

If we have a linear objective function and non-linear constraint(s), what do we get graphiucally?

A

We get a straight line as the objectiuve function. This line will be pushed as far out the feasible region as possible. the feasible region will be given as some curves instead of lines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is required for a problem to be considered convex?

A

Depends on whether it is maximization or minimizaiton.

If MAX: We need a concave objective function f(x), and every gi(x)<=bi must be convex.

if MIN, we the objective function is also convex.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why do we require gi(x)<= bi to be convex?

A

Because the region defined by being below the function gi(x) will be convex. Thus, the feasible region becomes convex.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why do we need convex problems?

A

The property of convex problems is that they guarantee that any local optimum is actually a global optimum.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is the relationship between integers and convexity?

A

Ax <= b can never be convex.

But the LP relaxation konvex.

17
Q

Name important properties of the Hessian

A

The hessian matrix is a square matrix that is also symmetric if all second derivatives are continuous. it is symmetric according to the symmetry of second derivates.

If all eigenvalues in the Hessian is non-negative, we have a positive semidefinite matrix, which results in convex function.

18
Q

Name an important property of functions and concavity/convexity

A

If a function is a sum of smaller functions, and each of the smaller functions are ALL convex, or all concave, then the total overall function will be the same.

The important application of this is that we can use the 2x2 test, rather then more complicated ones.

19
Q

Say we have no constraints. What can guarantee that a local optimum is a global optimum?

A

If the objective function is concave, it will have a local/global maximum.

If the objective function is convex, it will have a local/global minimum.

20
Q

If we have constraints, what is required for local/global optimum?

A

We need ot use the requirement regarding hte objective function, and we NEED the feasible region to be convex set.

21
Q

Why do we need convex sets to guarantee the shit?

A

It lies in the definition of hte convex set: Any pair of points inside the set have a line segment connecting them, such that the entire line is always inside of the set.
Consider what happens if this is not the case. We will likely get 2 or more points that represent local optimums. However, we cannot tell whether they are local or global. We would ahve to manually check all candidates.

22
Q

What is perhaps the biggest downside of nonlinear programming compared to linear programming?

A

We now have to consider every damn possible solution. With LP, we are actually only looking at CPF solutions, which is a heavily reduced set of solutions. With non linear problems, we dont have this luxury.

We can also add the fact that we have local optimums that are not necessarily global optimums. this is a problem because optimization methods are generally not able to distinguish between local and global optimums, except for finding better ones (comparisons). THEREFORE, we need to spend considerable time and effort into figuring out specific contexts in which we can guarantee that some local optimum is also a global optimum.

23
Q

How can we determine whether a funciton of many variables is convex or concave?

A

When the function consists of a sum of smaller individual functions, each of max 2 variables each, then if all the individual functions are concave, the entire shit is concave. IF all are convex, the entire shit is convex.

To check the smaller ones, we can use the same test we would use for two variables, as given in the appendix.

24
Q

Quickly define a convex set

A

A convex set is a set where ANY pair of points within the set can be connected by a line, and all points on that line will also lie inside of the set.

25
Q
A