Search found 1 match

by kereviz
6 years ago
Forum: Modeling
Topic: Modeling abs value
Replies: 1
Views: 2901

Modeling abs value

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 ?