Edist Function

Problems with syntax of GAMS
Post Reply
bmajeed92
User
User
Posts: 2
Joined: 1 month ago

Edist Function

Post by bmajeed92 » 1 month ago

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: 11
Joined: 1 year ago
Location: Washington, DC

Re: Edist Function

Post by dirkse » 1 month ago

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