Edist Function

Problems with syntax of GAMS
Post Reply
bmajeed92
User
User
Posts: 2
Joined: 6 years ago

Edist Function

Post 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?
-
Best Regards,
Bilal
User avatar
dirkse
Moderator
Moderator
Posts: 214
Joined: 7 years ago
Location: Fairfax, VA

Re: Edist Function

Post 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
Post Reply