2
$\begingroup$

I'm modeling an LP problem in which I have to maximize an objective function. Two of the constraints are the following, where $k_i$ are constants and $x_i$ decision variables (continuous). Could anyone help me on how to linearize these constraints? \begin{align} \text{max}{[(x_1 + k_1), (x_2 + x_3 + x_4)]} &\leq k_2\\ \text{min}{[(x_1 + k_1), (x_2 + x_3 + x_4)]} &\geq -k_2 \end{align}

$\endgroup$

1 Answer 1

8
$\begingroup$

$\max(y,z)\le b$ is equivalent to \begin{align} y&\le b\\ z&\le b \end{align} The $\min$ constraint is similar.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.