Search found 7 matches

by Luca
3 weeks ago
Forum: Syntax
Topic: Semi-infinite Programs in GAMS
Replies: 1
Views: 63

Re: Semi-infinite Programs in GAMS

Now it is ok. It was my fault.

Sorry,
Luca
by Luca
3 weeks ago
Forum: Syntax
Topic: Semi-infinite Programs in GAMS
Replies: 1
Views: 63

Semi-infinite Programs in GAMS

Dear all, I am looking for a semi-infinite solver in GAMS and I found sipres.gms in the GAMS library (https://gams.com/latest/gamslib_ml/libhtml/gamslib_sipres.html). Unfortunately, when I run it on GAMS, the output message is --- Starting compilation does not provide deterministic global optimizati...
by Luca
3 weeks ago
Forum: Syntax
Topic: Add dynamically constraints to a model
Replies: 2
Views: 160

Re: Add dynamically constraints to a model

Thanks very much Gabriel for your answer.
by Luca
1 month ago
Forum: Syntax
Topic: Add dynamically constraints to a model
Replies: 2
Views: 160

Add dynamically constraints to a model

Dear all,

I am implemented a kind of branch-and-cut algorithm in GAMS. I need to add dynamically constraints to my model: how can I do it? I think I have to use dynamic set, but I don't know how.
Thanks in advance,
Luca
by Luca
2 months ago
Forum: Syntax
Topic: Define set with integer scalar
Replies: 4
Views: 210

Re: Define set with integer scalar

Thanks very much. But I have another problem. I would like to assign the dimension of the set throut a computation depending from another variable. Something like this: $if not setlocal output $setlocal local_var 10 scalar local_val_2 ; local_val_2 = %local_var% * 10 ; j a set /1*%local_var_2%/ Than...
by Luca
2 months ago
Forum: Syntax
Topic: Define set with integer scalar
Replies: 4
Views: 210

Define set with integer scalar

Dear all,

I need to declare in gams a set like the following:
/1*set_dimension/
where set_dimension is a given in integer scalar. How can I do?

Thanks in advance. Best regards,
Luca
by Luca
3 months ago
Forum: Modeling
Topic: Assign set index the values of a parameter
Replies: 1
Views: 172

Assign set index the values of a parameter

Dear all, I am new in the forum. I am using GAMS to model and solve a MIP. After the solve statement I would like to plot a function. I use the LIBINCLUDE Interface to Create Excel Charts from GAMS developed by T.F. Rutherford, see http://www.mpsge.org/xlchart/index.html. In order to plot the functi...