Traveling Salesman Problem

  • cities, distance
  • visit every cities with minimal total distance

indicator function

n-Queens Problem

  • location of the queen in each column variable
  • Feasible set:
    • or
  • Objective function (dummy)

Optimization Problem

No general way to solve: No free launch theorem

It’s always possible to fabricate one problem that your problem solver can’t solve

  • Convex optimization problem (CO): GD, SGD
  • Linear Program: simplex, interior point
  • (Mixed) Integer Linear Program (MILP)

Decoupling "representation" and "problem solving": Lazy mode

  • Formulate a problem as an optimization problem
  • Identify which class the formulation belongs to
  • Call the corresponding solver