Originally posted by: SystemAdmin
>
> Hello,
>
> can someone help me to change the constraint : Abs(x) > a in order to have a linear constraint ?
First, you cannot have a strict inequality in a math program, only a weak one (>= here). Second, you will need a priori upper and lower bounds U, L for x (so that L <= x <= U is known to hold). Third, you will need to introduce a binary variable z. Then add the two constraints
x >= a*z + L*(1-z)
x <= U*z - a*(1-z).
/Paul
Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
#DecisionOptimization#MathematicalProgramming-General