Exercise 1.3

Consider the problem of minimizing a cost function of the form cx + f(dx), 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 cx + max {dx + 1,0,2(dx + 2)} min cx + x0 s.t. Ax b s.t. Ax b x0 dx + 1 x0 0 x0 2dx 4.

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

minimizecx + x0 subject toAx + 0x0 b dx + x0 1 0x + x0 0 2dx + x0 4.

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

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