Exercise 1.3

Consider the problem of minimizing a cost function of the form cx + f(d′x), subject to the linear constraints Ax ≥b. Here, d is a given vector and the function f : ℜ → ℜ is as specified in the figure below. Provide a linear programming formulation of this problem.

PIC

Answers

From the graph given in the exercise, we deduce the formula for f:

f : ℜ → ℜ,x↦ { − x + 1 for x ∈ (−∞,1] 0 for x ∈ (1,2) 2(x − 2) for x ∈ [2,+∞)

The trick is to see that the above definition is equivalent to the following formula involving a maximum function

∀ ⁡x ∈ ℜ : f(x) = max ⁡ {−x + 1,0,2x − 4}.

As suggested in Section 1.3, we can equivalently rewrite this kind of minimization problems as

min ⁡ c′x + max ⁡ {−d′x + 1,0,2(d′x + 2)} min ⁡ c′x + x0 s.t. Ax ≥b ⟺s.t. Ax ≥b x0 ≥−d′x + 1 x0 ≥ 0 x0 ≥ 2d′x − 4.

Moving variables to the left and constraints to the right, we rewrite the above as:

minimizec′x + x0 subject toAx + 0x0 ≥b d′x + x0 ≥ 1 0′x + x0 ≥ 0 − 2d′x + x0 ≥−4.

The above problem can be easily reformulated as a linear programming problem in ℜn+1:

minimize [ c′1 ] [ x x0 ] subject to [ A 0 d′ 1 0′ 1 −2d′1 ] [ x x0 ] ≥ [b 1 0 −4 ].
User profile picture
2022-02-03 18:07
Comments