Search found 23 matches

by Luca
5 years ago
Forum: Syntax
Topic: Excel printing problem
Replies: 3
Views: 5407

Re: Excel printing problem

Thanks very much. Now it works.
Best regards,
Luca
by Luca
5 years ago
Forum: Syntax
Topic: Excel printing problem
Replies: 3
Views: 5407

Excel printing problem

Dear all users,

I am using GAMS to solve an optimisation problem and I am printing the results to an excel sheet. I wold ask you if there is a way to print in excel all the entries of a variable included the zero entries.

Thanks in advance. Best regards,
Luca
by Luca
5 years ago
Forum: Syntax
Topic: Problem in changing the parameter.
Replies: 6
Views: 5245

Re: Problem in changing the parameter.

Thanks for the answer. I have already check the difference between fsSOL matrix and apparently all is ok.
But, when I solve the problems (which apparently are the same), I obtain different solutions.
-- Luca
by Luca
5 years ago
Forum: Syntax
Topic: Problem in changing the parameter.
Replies: 6
Views: 5245

Re: Problem in changing the parameter.

Here there is the code. I have a master problem, PROBLEM1, whose constraints are dynamically added by solving PROBLEM2. The syntax is correct, but the code has a strange behaviour (I am not sure I use the dynamic set in the right way). Thanks very much for all your suggestions.
by Luca
5 years ago
Forum: Syntax
Topic: Problem in changing the parameter.
Replies: 6
Views: 5245

Re: Problem in changing the parameter.

Thanks very much for your answer. It is true that I have different value for the parameters, but the second equations are just the copy-paste of one of the equation in the first set. I have all the equation I need in the first group of constraints, while in the second one I have always a constraint ...
by Luca
5 years ago
Forum: Syntax
Topic: Problem in changing the parameter.
Replies: 6
Views: 5245

Problem in changing the parameter.

Dear all, I am implementing a kind of branch and cut in GAMS and I have the following problem. I have a simple problem with just two nonnegative constaints in my model: set p auxiliary superset /1*200/ ; set i another set /1*100/ variables w(j,m) ; parameters fs1(j,i), fs2(j,p) ; equations contraint...
by Luca
5 years ago
Forum: Syntax
Topic: Semi-infinite Programs in GAMS
Replies: 1
Views: 2011

Re: Semi-infinite Programs in GAMS

Now it is ok. It was my fault.

Sorry,
Luca
by Luca
5 years ago
Forum: Syntax
Topic: Semi-infinite Programs in GAMS
Replies: 1
Views: 2011

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
5 years ago
Forum: Syntax
Topic: Add dynamically constraints to a model
Replies: 2
Views: 3458

Re: Add dynamically constraints to a model

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

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