Optimization, Constraint reduction

101 Views Asked by At

In optimization problem, I have two constraints for decision variables $x_1$ and $x_2$ as follow

$0 \leq x_1 \leq u_1$ and $0 \leq x_2 \leq u_2$

I was wondering how can I replace these 2 constraints with just one constraint in terms of $x_1,x_2,u_1,u_2$. Hence, the goal is to reduce the number of constraints. I dont care if this results in nonlinear constraints.

2

There are 2 best solutions below

0
On

If one of the $u_i<0$, there is no solution.

If one of the $u_i=0$, we know $x_i=0$ and you can focus on another constraint.

Assuming $u_1$ and $u_2$ are both positive,

$$0 \leq \frac{x_i}{u_i} \leq 1$$

$$-\frac12 \leq \frac{x_i}{u_i} - \frac12 \leq \frac12$$

$$\left|\frac{x_i}{u_i}-0.5 \right| \leq 0.5$$

$$\max_{i=1,2} \left|\frac{x_i}{u_i}-0.5\right| \leq 0.5$$

0
On

Just replace the constraints with this one:

$$\max\{-x_1,x_1-u_1,-x_2,x_2-u_2\}\leq 0.$$

More generally, the inequality constraints

$$g_i(x)\leq 0,\;i=1,\ldots,m$$ can be replaced by the single constraint

$$\gamma(x)=\max_{i=1,...,m}\{g_i(x)\}\leq 0.$$ If $g_i$ is convex for each $i,$ then $\gamma $ is also convex. Hope this helps.