Search found 2 matches

by bmajeed92
6 years ago
Forum: Modeling
Topic: Model with quadratic Obj and Constraint
Replies: 0
Views: 2238

Model with quadratic Obj and Constraint

I am trying to run the following model, but I am not successful. Can anyone help with what am I missing in the modeling? sets i / 1*50 / j / 1*50 / k / 1*19/ ; Parameter S(i,j); $call GDXXRW Sij.xlsx trace=3 par=S rng=Sheet1!a1 rdim=1 cdim=1 $GDXIN Sij.gdx $LOAD S $GDXIN Parameter ds(k) $include &qu...
by bmajeed92
6 years ago
Forum: Syntax
Topic: Edist Function
Replies: 1
Views: 2581

Edist Function

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?