Modeling abs value
Posted: Fri Oct 06, 2017 3:29 pm
hello, i just started using gams, i apologize already for my pace.
I want to model following model, but i could not model the absolute value. I wrote something like the following but it is not true
zobj =e= sum(i,sum(j, f(i,j)* (xplus(i) + xneg(i) -xplus(j) + xneg(j) )))
Can you help me ?
I want to model following model, but i could not model the absolute value. I wrote something like the following but it is not true
zobj =e= sum(i,sum(j, f(i,j)* (xplus(i) + xneg(i) -xplus(j) + xneg(j) )))
Can you help me ?