6. Primal heuristics Flashcards

1
Q

Construction heuristics

A

produce a feasible solution from scratch

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

Improvement heuristics

A

try to improve a given feasible solution (x, y)

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

Truncated MIP

A
  • Run a B&B algorithm for a fixed amount of time
  • The best solution obtained when the time limit is reached is the MIP heuristic solution
  • Used both as construction and improvement heuristic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Diving

A
  • At each node, all the y variables taking value 0 or 1 in the LP solution are frozen at that value
  • Then, create one branch by fixing one of the y variables that is fractional to an integer value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

LP-driven dives

A
  • use the latest LP solution (ˆx, yˆ) and fix a variable closest to integer
  • Set yk = 0 if yˆk ≤ 0.5 and yk = 1 otherwise
    -> Construction heuristic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

IP-driven or guided dives

A
  • use the incumbent solution (x^, y^)
  • Choose the variable yk to be fixed next
  • The branching direction is fixed by setting y_k = y_k^_
    → Improvement heuristic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

LP-and-Fix or Cut-and-Fix

A

1 Solve the LP relaxation of the (sub)problem to be solved and let the solution be represented by (ˆx, yˆ)
2 Solve the following Mixed Integer Program called MIP^LP−FIX
- The highlighted constraint fixes the variables which resulted integer in the solution of the LP relaxation

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

Relax-and-Fix

A

iteratively solve a MIP in which some variables are fixed to specific values (obtained from previous iterations), other are required to be binary, and other are relaxed

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

Relax-and-Fix Notation

A

R: number of disjoint sets in which we divide our variables
Q: the disjoint sets of variables
U: subsets of variables

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

Relax-and-Fix 1. iteration

A
  • binary restrictions only on the variables belonging to the first group Q1 and on the variables belonging to U1 (the first subset containing one or more of the next variables groups)
  • all the remaining variables (not belonging to these two previous groups) are relaxed (i.e., in the solution of this iteration, they can assume continuous values between 0 and 1)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Relax-and-Fix 2. iteration

A
  • fix the values of the variables of the groups r from the previous iterations to the values obtained in the previous solution (if r = 2, we fix the variables belonging to Q1 to the values obtained from the solution r = 1, i.e., solution from MIP1)
  • impose the binary restrictions only on the variables belonging to the group Qr and on the variables belonging to Ur (the subset containing one or more of the next variables groups)
  • all the remaining variables (not belonging to any of the previous groups) are relaxed (in the solution of this iteration, they can assume continuous values between 0 and 1)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Relax-and-Fix 3. iteration

A

MIP in which none of the variables are relaxed

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

Fig. Example of iterations during the relax and fix heuristic

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

Fig. Production planning problem with 200 time periods

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

Improvement heuristics

A
  • try to improve a given feasible solution (x, y)
    1 Relaxation induced neighborhood search (RINS)
    2 Local branching (LB)
    3 Combinations
    4 Exchange (EXCH)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Relaxation induced neighborhood search (RINS)

A
  • Idea: compare the neighborhoods of the LP relaxation solution (ˆx, yˆ) and of the feasible solution we are starting from (x_, y_). If a variable has the same binary value in both solutions, then this value is fixed
  • Given: LP solution at the root node (ˆx, yˆ) and best known feasible solution (x_, y_)
  • Common idea: use MIP to explore some promising neighborhood for a limited amount of time
17
Q

RINS Steps

A

1 Solve the LP relaxation of the MIP ((ˆx, yˆ))
2 Get a feasible solution (for example, by using a constructive primal heuristic) (x_, y_)
3 Compare them and solve the following MIP^RINS

18
Q

Local branching (LB)

A
  • Idea: Starting from a feasible solution (¯x, y¯), solve the model by imposing that no more than k variables should have a different value with respect to the values assumed in the feasible solution
  • The neighborhood consists of those y vectors that do not differ from y in more than k values
19
Q

LB Steps

A

1 Get/start from a feasible solution (x, y) (for example, by using a constructive primal heuristic)
2 Solve the following MIP^LB

20
Q

Exchange (EXCH)

A
  • Improvement version of relax-and-fix heuristic
  • Idea: at each iteration, all variables which are required to be binary are fixed to the values obtained in the best feasible solution found so far, except for a group of variables for which the binary constraint is imposed (but the model is free here to decide about the value).
21
Q

EXCH Steps

A
  • Qr and U r with 1 ≤ r ≤ R
  • At each step r (1 ≤ r ≤ R) of the heuristic, we solve the following MIP^EXCH,r
  • All integer variables fixed at their values in the best solution (x, y) found so far (or in the last solution)
  • except for variables in the set Qr (or Qr ∪ Ur) which are restricted to integer values