Search found 7876 matches

by Archiver
1 year ago
Forum: Archive Google Group
Topic: Why give the same performance of all units
Replies: 2
Views: 258

Re: Why give the same performance of all units

Hi Vafa Your model just compute efficiency of DMU1 many times. here is the corrected code Sets i "inputs" /i1 "doctors",i2 "nurses"/ r "outputs" /o1 "outpatients",o2 "inpatients"/ j "units" /dmu01*dmu12/ is(j) "selected units"; is(j)=yes; Alias(j,jj); scalar epsilon "non-archimedean value" /0.005/;...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: Model state 8 ?!
Replies: 2
Views: 163

Re: Model state 8 ?!

Hi My friends Saeid and Vafa mr. saeid please set the following statements befor solve statemnet to get optimal soloton option optcr=0; option optca=0; خانم وفا با توجه به تعریف xo و yo مدل شما کارایی واحد اول را برای همه واحدها محاسبه م...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: Assigned set used as domain !
Replies: 2
Views: 362

Re: Assigned set used as domain !

Thanks a lot!! On Thursday, April 28, 2016 at 9:03:08 AM UTC+3, Renger van Nieuwkoop wrote: Hi Tino Your code runs fine if you put a semicolon after so(s). The union is an assignment, not part of the declaration of sets. Cheers Renger From: gams...@googlegroups.com [mailto:gams...@googlegroups.com]...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: Just Open, Run and Exit GAMS using Python
Replies: 6
Views: 258

Re: Just Open, Run and Exit GAMS using Python

I tryed to use this code also, but I get an error to, like this: Parsing error SyntaxError: EOL while scanning string literal (line 74) Can someone help me please? Em sexta-feira, 7 de novembro de 2014 07:39:19 UTC, C. Westphal escreveu: You can create a GamsJob instance from a GAMS file (.gms) by ...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How do I call the gams solvers with a .gms but without openning gams ? (python)
Replies: 8
Views: 249

Re: How do I call the gams solvers with a .gms but without openning gams ? (python)

So you don't know how can I run a file .gms from python script? Em domingo, 5 de agosto de 2012 14:40:09 UTC+1, Lucas Ianni escreveu: Hi Ive made a specific python program to solve a optimization problem =) The user enter the problem calling the functions and my program convert it to GAMS logic and...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How do I call the gams solvers with a .gms but without openning gams ? (python)
Replies: 8
Views: 249

Re: How do I call the gams solvers with a .gms but without openning gams ? (python)

Em domingo, 5 de agosto de 2012 14:40:09 UTC+1, Lucas Ianni escreveu: Hi Ive made a specific python program to solve a optimization problem =) The user enter the problem calling the functions and my program convert it to GAMS logic and save in a .gms format!!! But I dont want to give the user the w...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How to find out the default solvers used?
Replies: 2
Views: 142

RE: How to find out the default solvers used?

Hi Sara - You can see in the GAMSIDE what the available solvers are: File – Options – Solver. Those with a dot are available (those with – not). You can set the default solver for a specific problem (e.g. NLP) by clicking on the dot in the line with your solver of preference. I suppose GAMS j...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How to find out the default solvers used?
Replies: 2
Views: 142

Re: How to find out the default solvers used?

Dear Sara! In GAMS IDE Left upper corner -> "file" inside "option" inside "solver" Make Your choice! All the best! Andre 28.04.2016, 18:25, "Sara Amr" <saraaamin@gmail.com>: > Hi, > > i'm solving two models, one MIP and another that is an NLP. > how can i find out what are the default solvers that ...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How to find out the default solvers used?
Replies: 2
Views: 142

How to find out the default solvers used?

Hi, i'm solving two models, one MIP and another that is an NLP. how can i find out what are the default solvers that are used by GAMS to solve the models? Thanks, Sara -- To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com. To po...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How do I call the gams solvers with a .gms but without openning gams ? (python)
Replies: 8
Views: 249

Re: How do I call the gams solvers with a .gms but without openning gams ? (python)

Hi Claudio! I changed my code based on your answer, and before that code I defined: gamspath= "F:\Otim\correct" filename= "F:\Otim\correct\ElGrV03.gms" but it still gives error like this: Runtime error Traceback (most recent call last): File "<string>", line 47, in <module> File "C:\Python27\ArcGIS...

Go to advanced search