Download presentation
Presentation is loading. Please wait.
1
Easy Optimization Problems, Relaxation, Local Processing for a small subset of variables
2
Changes in the energy and overlap
3
X-direction line search and “discrete derivatives” For node, fix all other nodes at their current Current overlap ------- ---------------- ------------------------- Calculate => choose sign Calculate sign => quadratic approx. To effectively calculate the derivative which means: Calculate and average: Line search Discrete derivative
4
Different types of relaxation Variable by variable relaxation – strict minimization Changing a small subset of variables simultaneously – Window strict minimization relaxation Stochastic relaxation – may increase the energy – should be followed by strict minimization
5
Window strict unconstrained minimization Discrete (combinatorial) case : Permutations of small subsets P=2, placement
6
1D data base The nodes: 1 2 3 4 5 6 7 8 9 A permutation 5 3 9 6 2 7 1 4 8 (1)= 7, (2)=5, (3)=2 … To find a consecutive subset of nodes in the current permutation, we need the inverse of -1 -1 (1)= 5, -1 (2)= 3, -1 (3)= 9 … In 2D we have to insert a grid and store the list of nodes within each square
7
Window strict unconstrained minimization Discrete (combinatorial) case : Permutations of small subsets P=2, placement Problem: very small number of variables! Quadratic case : P=2
8
Window relaxation for P=2 unconstrained version Minimize Pick a window of variables, fix all variables at Find a correction to so as to minimize Quadratic functional in many variables – easy to solve!
9
Updating the window variables For each i in the window W insert the correction: x i new =x i + i Sort the x i new s and rearrange the window accordingly To improve the result obtained by the inner changes apply node-by-node relaxation on W and on its boundary At the and compare the “old” energy with the “new” energy and accept / reject Revision process: try a “big” change, improve it by local minimization, choose
10
Window relaxation for P=2 constrained version To prevent nodes from collapsing on each other To express the aim of having an approximate permutation of add 2 constraints:
11
Exc#4: Permutation’s invariants 1)Prove that are invariant under permutation. 2) Is it also true for m=3?
12
Window relaxation for P=2 constrained version To prevent nodes from collapsing on each other To express the aim of having an approximate permutation of add 2 constraints: Minimization with equality constraints Lagrange multipliers
13
Lagrange multipliers Goal: Transform a constrained optimization problem with n variables and m equality constraints to an unconstrained optimization problem with n+m variables. The new m variables are called the Lagrange multipliers Geometry explanation
16
2 constraints in 3D
17
The optimal ellipsoid is tangent to the constraints curve
18
Lagrange multipliers Goal: Transform a constrained optimization problem with n variables and m equality constraints to an unconstrained optimization problem with n+m variables. The new m variables are called the Lagrange multipliers Geometry explanation Construct an augmented functional – the Lagrangian
19
The Lagrangian Given E(x) subject to m equality constraints: h k (x)=0, k=1,…,m, construct the Lagrangian L(x, ) = E(x) + k k h k (x) and solve the system of n+m equations The value of is meaningful The constraints!
21
The Lagrangian: an example Minimize E(x,y)=x+y Subject to h(x,y)=x 2 +y 2 -2 The Lagrangian: L(x,y, =E(x,y)+ (x 2 +y 2 -2 The constraint! The co-linearity of the gradients
22
Window relaxation for 1D ordering constrained/unconstrained version Minimize Pick a window of variables, fix all variables at Find a correction to Update the window’s variables, restore volume constraints and revise around the window Switch to the next window chosen with overlap Use a (small) sequence of variable size windows For example use windows with 5,10,15,20,25 nodes
23
Easy to solve problems Quadratic functional and linear constraints Solve a linear system of equations Quadratization of the functional: P=1, P>2
24
Quadratization for P=1 and P>2 Minimize ; Given a current approximation Minimize
25
Easy to solve problems Quadratic functional and linear constraints Solve a linear system of equations Quadratization of the functional: P=1, P>2 Linearization of the constraints: P=2
26
Window relaxation for P=2 constrained version To prevent nodes from collapsing on each other To express the aim of having an approximate permutation of add 2 constraints: The terms were neglected assuming they are small enough compared with other terms in the equation
27
Easy to solve problems Quadratic functional and linear constraints Solve a linear system of equations Quadratization of the functional: P=1, P>2 Linearization of the constraints: P=2 Inequality constraints: active set method
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.