Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Notes
Today
Classification of optimization problems
optimization variables
objective function
constraints
Notes
Notes
(2)
x2
)
(3
Top view
(4)
(5)
Side view
1
x1
Notes
(2)
x2
(4)
(3
Top view
(5)
3
Side view
x1
Notes
(2)
x2
(4)
(3
Top view
(5)
3
Side view
1
x1
Notes
A First Classification
optimization variables
optimization problem
real-valued
non-integer programming
integer
real-valued &
integer
integer programming
mixed-integer
programming
Notes
f (x)
3
3
8
Notes
f (x)
3
3
9
Notes
Notes
(1)
for some b R
f in (1) is linear if and only if b = 0.
A function is nonlinear if it is not affine
f (x)
f (x)
Linear
Affine
11
Notes
f (x1 , x2 , x3 ) =
5
+ 3x2 6x3
x1
3
X
xj + 3
linear
nonlinear
affine
j=1
f (x1 , x2 , x3 ) =
x1 x2
x2 + x3
f (x1 , x2 , x3 ) = x1 x2 + 3x3
nonlinear
nonlinear
affine
nonlinear
12
Notes
()
is
I
13
Notes
Feasible set
arbitrary
variables in Rn
arbitrary
affine
f = cT x + b
arbitrary
affine
f = cT x + b
name of the
optimization problem
unconstrained
optimization
nonlinear
programming
linear
programming
nonlinear
(mixed-)integer
programming
linear
integer
programming
14
Notes
Optimization problems
Unconstrained
15
Notes
Optimization problems
Nonlinear program (nonlinear obj fun and nonlinear constraints)
16
Notes
Optimization problems
Nonlinear program (linear obj fun and nonlinear constraints)
17
Notes
Optimization problems
Mixed integer linear program
18
Notes
Optimization problems
Nonlinear integer program
19
Notes
Optimization problems
Linear program
20
Notes
Who am I?
min
12z1 + 4z3
s.t.
z1 z2 z3 = 1
nonlinear
z1 , z2 0
max
s.t.
linear
min
s.t.
nonlinear integer
zj = 2
j=1
zj {0, 1, 2}
for j = 1, 2, 3
21
Notes
min
3w1 + 14w2 w3
nonlinear mixed-integer
s.t. w1 w2 1
w1 + w2 + w3 = 10
wj 0
for j = 1, . . . , 3
w1 integer
max
s.t.
19w1
linear
w1 w2
w2 + w3 = 10 + w1
w2 1, w3 1
w1 0
22
Notes
x [x1 , x2 ]T R2
f (x) = a11 x21 + a22 x22 + a21 x1 x2 + a12 x1 x2 + b1 x1 + b2 x2 + c
a11 a12
x1
x1
+ b1 b2
+c
= x1 x2
x2
| {z } x2
| {z } a21 a22
|
{z
}| {z }
| {z }
xT
bT
x
xT A x
bT x
+c
23
Notes
Quadratic functions 1D
f (x)
24
Notes
Quadratic programs: 2D
25
Notes
1 T
x A x + bT x + c
2
Hx d 0
Gx q = 0
x Rn
Notes
nonlinear
programming
quadratic
programming
linear
programming
Notes
Relative Tractability
Not all optimization problems are created equal. Some problem
classes can be numerically solved very efficiently; for some other
classes, no reliable efficient algorithm is known
In general:
I
However,
I
Notes
Relative Tractability
Tractability is often not a property of the problem itself, but of our
formulation and modeling
A problem that may seem hard under a certain formulation may well
become tractable if we put some more effort and intelligence in the
modeling phase.
Sometimes, tricks of the trade can be used to convert certain
nonlinear hard programs into simpler ones (e.g., linear programs)
Even for intrinsically hard problems, for which exact solutions maybe
unaffordable, approximate, or relaxed, solutions may be readily
computable
29
Notes
Summary
Classification of optimization models via characteristics of variables,
constraints, and objective functions
I
linear programs
nonlinear programs
quadratic programs
Relative tractability
I
30