CS/ECE/ISyE 524 Introduction to Optimization Spring 2017–18
- 19. Fixed costs and variable bounds
❼ Fixed cost example ❼ Logic and the Big M Method ❼ Example: facility location ❼ Variable lower bounds
Laurent Lessard (www.laurentlessard.com)
19. Fixed costs and variable bounds Fixed cost example Logic and - - PowerPoint PPT Presentation
CS/ECE/ISyE 524 Introduction to Optimization Spring 201718 19. Fixed costs and variable bounds Fixed cost example Logic and the Big M Method Example: facility location Variable lower bounds Laurent Lessard
CS/ECE/ISyE 524 Introduction to Optimization Spring 2017–18
Laurent Lessard (www.laurentlessard.com)
19-2
19-3
19-4
x,z
19-5
19-6
19-7
19-8
x,z
19-9
19-10
19-11
19-12
19-13
i∈I cij
y
19-15
S
i∈S cij
y,z
19-17
y,z
j∈J yij ≤ Jzi for all i ∈ I.
19-18
j∈J yij ≤ Jzi for all i ∈ I.
◮ Optimal solution found (all variables binary) in 4.2 sec. ◮ Same solution found if we let 0 ≤ yij ≤ 1. Now 3.7 sec.
◮ Optimal solution found (all variables binary) in 0.65 sec. ◮ Same solution found if we let 0 ≤ yij ≤ 1. Now 0.45 sec. ◮ Same solution if we also let 0 ≤ zi ≤ 1. Now 0.02 sec.
19-19
j∈J yij ≤ Jzi for all i ∈ I.
◮ Optimal solution found (all variables binary) in 32 min. ◮ Same solution found if we let 0 ≤ yij ≤ 1. Now 15 min.
◮ Optimal solution found (all variables binary) in 3.3 min. ◮ Same solution found if we let 0 ≤ yij ≤ 1. Now 3.8 min. ◮ Non-integer if we also let 0 ≤ zi ≤ 1. Now 0.025 sec.
19-20
10 20 30 40 50 60 70 80 90 100 number of facilities and customers 10-3 10-2 10-1 100 101 102 103 time to solve (seconds)
comparison of different solvers GLPK Cbc Mosek Gurobi
19-21
19-22
19-23
19-24
19-25
x,y
x,y,z
x,y,z
19-26