Introduction, LP Flashcards
What will the constraints hit?
Constraints are restrictions on the DECISION VARIABLES.
What is the purpose of the objective function?
To describe the objective. The objective is typically an economic or technical problem.
What is a pre-requisite for using optimization models?
The objective, and the constraints, must be able to be described quantitatively using mathematical functions and relations.
What is an assumption regarding optimization models in real life?
We assume that the number of variables and constraints are LARGE, so that we need computer power and algorithms that are efficient in order to actually find the optimal solution.
Define programming
It means planning, and refers to creating a plan for how to do shit.
What is the history of OR?
Operaitons research originates from WW2. Breakthrough methods originates from 1947 (Simplex method from George Dantzig)
what do we call short term planning?
Operative, or operational
what do we call long erm planning?
Strategic, tactical.
Lecturer says that strategic allows for all kinds of infrastructure changes.
Tactical allows for minor tweaks.
Operational allows for no changes.
Define the optimization process
We begin with a “real problem”. Can be extremely complex, and there will likely be aspects in it that we do not include further. This is most likely due to how dofficult it would be to add to the model.
The first phase is therefore about identifying the real problem, and find the relevant components.
NB: An essential part about this step, that is often neglected, is to determine whether it is necessary to set up an optimization model at all. Sometimes, there are alternative approaches. There will be a large focus on the fact that shit is quantifiable.
The result of this filtering process is that we now have the simplified problem.
We now take the simplified problem and transforms it to the mathematical description. We are now talking about decision variables, parameters, constraints, objective function. In this step, we might have to make further simplifications to the problem. For instance, the problem size can cause trouble in real life.
Now we have the optimization model.
The next step is to take the model, and solve it using some method.
When solved, we need to check whether the solution is correct/test the model for potential errors. This is called model validation.
The next step is to perform sensitivity analysis to better understand the solution.
Only now, we have the result.
how do we denote an optimal solution
x*
What is the most general way of describing the optimization problem mathematically?
min f(x)
st. x in X
where X is the set of feasible solutions.
f is the optimization function.
x is the vector/set of decision variables.
We usually, however, describe the constraints a little bit differently:
st. gi(x) <= bi
to highlight the fact that the model has constraints on this shape, and not just a set of feasible values. However, the first general one is also 100% correct.
There are two types of optimization methods…+
Exact methods
Heuristics.
Exact methods finds the optimal solution.
Heuristics find soltuions that are good enough
How do we denote the optimal objective function value?
z*
Define an optimal solution
An optimal solution is a set of values x in X that minimize (or maximize) f(x).
Convertion between max and min is?
to maximize a problem is the same as minimizing the negative of the other problem.
For instance, consider:
max x+y
this problem get a better value when x and y grow large.
min -(x+y)
this problem gets a better value when x and y grow large.
They are identical.
what do we mean by halfspace?
halfspace is a part of the space. We usually use halfspace to talk about the feasible side of the space as given by a constraint.
The intersection of all halfspaces is called…?
The feasible region, which we usually call X.
WHat is noteworthy on infeasibility
it is never by the objective function, but always on the constraints.
A constraint that does not affect the feasible region is called …?
Redundant.
We can add that if the constraint affects the feasible region, but not in the optimal solution, we call it “redundant in optimum”.
The constraints that are satisfied with equality in the optimal solution are called…?
Active, or binding constraints.
Elaborate on global optimum vs local optimum, and define the neighborhood for continuous problems
We say that a feasible point x^(k) is a global optimum if f(x^(k)) >= f(x) for all x in X (max problem, opposite if min).
The same applies for local optimums, but we need to define the area/neighborhood in which the feasible point is a local optimum.
We do this by having “for all x in X and x in N(x^(k))”, where N is a function that defines a certain neighborhood.
For continuous problems, a neighborhood can be defined as
N(x^(k)) = {x | abs(x^(k) - x) < const e, const e > 0}
Can a set be concave?
No. A set is either convex or non-convex