22
Discrete Optimization [Chen, Batson, Dang: Applied Integer programming] Chapter 1-2 - Tomas Lidén, Marcus Posada (ITN/KTS) Seminar #1, 2015-03-24

Discrete Optimization - LiU

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Discrete Optimization - LiU

Discrete Optimization [Chen, Batson, Dang: Applied Integer programming]

Chapter 1-2 - Tomas Lidén, Marcus Posada (ITN/KTS) Seminar #1, 2015-03-24

Page 2: Discrete Optimization - LiU

Outline• Ch 1: Introduction, classification [Tomas]

• Ch 2: Modeling and Models • 2.1: Assumptions [Marcus] • 2.2: Modeling process [-”-] • 2.3: Project selection [Tomas] • 2.4: Production planing [-”-] • 2.5: Workforce scheduling [-”-] • 2.6: Transportation and distribution [Marcus] • 2.7: Multi-commodity network flow [-”-] • 2.8: Network optimization [-”-] • 2.9: Supply chain planning [-”-]

Page 3: Discrete Optimization - LiU

Ch 1: Introduction and classification

Mathematical programming (problem) = constrained optimization (problem)

• ”programming”: planning activities that consume resources and/or meet requirements, expressed as constraints

• Not coding a computer program!

• Short hand: ”program”LP = linear programming / program (linear optimization)

Page 4: Discrete Optimization - LiU

Problem classesMIP: Mixed Integer Program (also MILP: Mixed Integer Linear Program)

LP: Linear Program (no y)

IP: (pure) Integer Program (no x)

• One constraint: Integer knapsack program (|b| = 1)

BIP: Binary (Integer) Program (y \in {0, 1})

• One constraint: Knapsack problem(|b| = 1)

Notational conventions real numbers negative real (< 0) positive real (> 0) integer numbers (Zahlen) negative integer non-negative integer positive integer (Natural)

Page 5: Discrete Optimization - LiU

”Standard form”• Here:

Maximize,≤ constraints,non-negative variables (also called canonical form)

• Bertsimas, Lundgren:Minimize, = constraints,non-negative variables (also called augmented or slack form)

• Easy to transform(negations, extra variables)

• Single constraints for bounds

Page 6: Discrete Optimization - LiU

Combinatorial optimization problems (COP)

• A finite set of solutions, often representable by graph structures

• Classical examples:

• Assignment problem

• Traveling salesman problem (TSP)

• Vehicle routing problem

• Constraint satisfaction (sudoku, game-of-life, queens etc)

• Can be formulated as BIP, one variable per possible solution

Page 7: Discrete Optimization - LiU

Successful applications• Transportation and distribution

• Manufacturing

• Communications

• Military and government

• Finance

• Energy

• …

Page 8: Discrete Optimization - LiU

•

•

•

•

•

•

•

Page 9: Discrete Optimization - LiU
Page 10: Discrete Optimization - LiU

Modeling tips, blogs etc• Paul Rubin - http://orinanobworld.blogspot.se/

• Formulating optimization problems

• Branching and integer/binary variables

• Other bloggers: Laura McLay, Jean-Francois Puget, Marco Lübbecke, Michael Trick

• Organizations:

• Informs - https://www.informs.org/

• SOAF - http://www.soaf.se/

• …

Page 11: Discrete Optimization - LiU

Project selection problems (2.3)

Knapsack problem • Maximize value of limited bag

Capital budgeting • Multi-period

Parameters: number of projects (n), cost in period t (a_tj), net present value (c_j), available budget in period t (b_t) Variables: select project j or not (y_j) Constraints: budget in each period State variables: none Objective: maximize net present value of selected projects

Page 12: Discrete Optimization - LiU

Production planning problems (2.4)

• Lot sizing

Big ”M”: Capacitated:

Note: single product, state (secondary) variables s_t

Page 13: Discrete Optimization - LiU

Just-in-time production• Minimize inventory cost for multi-product

production

• Somewhat strange formulation in text book: variables x_jt and s_jt unnecessary; ”pair of inequality constraints”? Index error in objective.

• Could use surplus ( ) and shortage ( ) Inventory balance: Objective: (note: only state variables in objective function)

Page 14: Discrete Optimization - LiU

Workforce scheduling• Full time workers

Fractional values can be used for part timers

Note: same model as Capital budgeting..

Page 15: Discrete Optimization - LiU

Workforce scheduling• Part time additions

Page 16: Discrete Optimization - LiU

•

Page 17: Discrete Optimization - LiU

•

𝑦𝑖𝑗 = 1 𝑥𝑖𝑗 > 0

Page 18: Discrete Optimization - LiU

•

𝑀 𝑢𝑖

Page 19: Discrete Optimization - LiU
Page 20: Discrete Optimization - LiU
Page 21: Discrete Optimization - LiU

•

•

•

•

•

Page 22: Discrete Optimization - LiU