Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Optimization / Algorithms and structure

Integer Programming

When the answers must be whole numbers, linear programming turns from easy to hard. Branch and bound tames it.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1Relax, then branch
  2. ?Check yourself

By the end you can

  • Formulate a problem with integer or binary variables
  • Explain the LP relaxation
  • Trace branch and bound

Helps to know: Linear Programming

§1Relax, then branch

Dropping the integrality requirement gives the LP relaxation, whose optimum bounds the true one. If the relaxed solution has x1=2.6x_1 = 2.6, split into two subproblems, x1≤2x_1 \le 2 and x1≥3x_1 \ge 3, and discard any branch whose bound cannot beat the best integer solution found so far.

Check yourself

  1. Q1
    For a maximisation problem, the LP relaxation’s optimum is…