Page 1 of 1

Edist Function

Posted: Thu Dec 14, 2017 11:13 pm
by bmajeed92
How do we use the Edist function? From what I read it is an intrinsic function in GAMS for applying the L2 norm.

For my optimization problem, i have L2 norm inequality constraint. How do I model it in GAMS?

Re: Edist Function

Posted: Fri Dec 15, 2017 2:51 pm
by dirkse
Bilal,

I tried out the search function within our documentation on our Web site (not the Web site search, but the search within the documentation) . I could search just within model libraries and found a nice example where the edist function is used in the the relief model:

https://www.gams.com/latest/gamslib_ml/ ... elief.html

Searching the User's Guide only gave me a pointer to the edist function and its documentation in the table of functions. The function is defined there. It is used like any other multi-argument function, e.g. max(x,y,3.75).

-Steve