CSCI 35500 SP 2026

Go to homepage

Last updated: 2026-02-26

Constraints: min and max

Let’s look at these constraints with \min and \max (from here: LP constraint problems) and determine which are modelable in an LP and which are not.

  1. \max(x,y) \leq 10
  2. \max(x,y) \geq 10
  3. \min(x,y) \geq 10
  4. \min(x,y) \leq 10

The questions we need to answer for each of these types of constraint questions are:

For each of the above constraints, the answer to the first two of these three questions is yes: the constraints are linear (creating straight lines), and the inequality is either \leq or \geq.

To determine convexity, the simplest method is to graph them using a tool like Desmos.

Here are the graphs for each:

\max(x,y) \leq 10

Desmos graph for \max(x,y) \leq 10

This feasible region is convex, so it is LP-modelable.

\max(x,y) \geq 10

Desmos graph for \max(x,y) \geq 10

As shown by the drawn points and line, the feasible region is not convex, so it is not LP-modelable.

\min(x,y) \geq 10

Desmos graph for \min(x,y) \geq 10

This feasible region is convex, so it is LP-modelable.

\min(x,y) \leq 10

Desmos graph for \min(x,y) \leq 10

As shown by the drawn points and line, the feasible region is not convex, so it is not LP-modelable.