Search found 10 matches

by dgormaz
3 years ago
Forum: Modeling
Topic: Can the value of Big M change my results?
Replies: 2
Views: 2091

Can the value of Big M change my results?

Hi! I have a multi objective NLP problem with Big M constraints. I noticed that when I change the value of Big M the results of the variables included in my objective functions change. This happens when I run with MINOS or with BARON. The values of the Big M are big enough, for example 1000 and 1000...
by dgormaz
3 years ago
Forum: Tools
Topic: Help with log file in GAMS
Replies: 1
Views: 2444

Help with log file in GAMS

GAMS is not creating automatically the .log file after i run my models, the information is show only in the panel of the program (not as an independent file)
How can i get the log file ?

Thanks!
by dgormaz
4 years ago
Forum: Syntax
Topic: Problem maximizing a infeasible function
Replies: 4
Views: 2943

Problem maximizing a infeasible function

Hello.
I'm trying to run a model that maximizes a function and the problem it's infeasible but not unbounded. The weird thing it's that if i try to run the same model but minimizing the function, it runs.
Does anybody know why this happen? I'm using baron.
Thanks!
by dgormaz
4 years ago
Forum: Tools
Topic: Failure to change relative optimality error 1015
Replies: 1
Views: 2537

Failure to change relative optimality error 1015

Hello, trying to run my code I got this error that is not of any kind. However I got a global and feasible solution, but it seems strange to me to have had the error: Failure to change relative optimality error 1015 I attach an image of the text Can someone explain to me what it means and what I can...
by dgormaz
4 years ago
Forum: Syntax
Topic: Help with gams, gdx and xlsx
Replies: 6
Views: 4727

Re: Help with gams, gdx and xlsx

Sorry, here I post the excel, there are many tables of parameters.
by dgormaz
4 years ago
Forum: Syntax
Topic: Help with gams, gdx and xlsx
Replies: 6
Views: 4727

Re: Help with gams, gdx and xlsx

Hi,my sheets are: H1 (K0, J01): 13VZ 13VZ 0_1M1 0 0_1M2 31 0_2NE 613 0_2NW 613 0_2SE 613 0_2SW 613 H2(K0,J02): 11QR 13C 11A 11D 11SE 11PH 11PA 11L 13RP 13P 11EC 12Q 11V 11G 11MC 11ES 11T 12SM 12SMAPA 14SMAPA 12ENEA 11VE 12SB 12CV 12LA 12IQ 14SI 0_1M1 173 176 307 223 130 0 145 2095 28 0 2055 0 0 0 88...
by dgormaz
4 years ago
Forum: Syntax
Topic: Help with gams, gdx and xlsx
Replies: 6
Views: 4727

Help with gams, gdx and xlsx

hello, I'm trying to pass several cells of different sheets of an excel to gams using gdx, and I get strange errors, this I have until now: Parameter DH1 (K0, J01) $ call GDXXRW Alt_Tables.xlsx par = DH1 rng = H1(K0,J01)! A1: B7 output = DH1.gdx $ GDXIN DH1.gdx $ LOAD DH1 $ GDXIN Parameter DH2 (K0, ...
by dgormaz
5 years ago
Forum: Syntax
Topic: I need help with a if sentence
Replies: 1
Views: 2020

I need help with a if sentence

Hello. I'm trying to put a if statement in a constraint but i can't I'm trying with: economic31(MW12, I1)$(FM2_2.L>0).. OpC31(MW12,I1)=E= (g*((HI1(I1)-HMW12(MW12))))+(OpF4*Dist31(MW12,I1)*(FM2_2(MW12,I1)**2)); ** Error 148 Dimension different economic31(MW12, I1)$((FM2_2(MW12,I1).L)>0).. OpC31(MW12,...
by dgormaz
5 years ago
Forum: Tools
Topic: Help with Gams and Excel interfase
Replies: 1
Views: 2700

Help with Gams and Excel interfase

Hello. I want to know how to show my results in excel. I have a lot of variables and I do not know how to show them all without writing them one by one. Also, I tried to do this, and it don't show me all the results: < Execute_unload "resultados.gdx" F2.L F2.M execute 'gdxxrw.exe resultado...