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: 390

Re: Why give the same performance of all units

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

Re: Model state 8 ?!

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

Re: Assigned set used as domain !

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

Re: Just Open, Run and Exit GAMS using Python

<r><br/> 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)<br/> <br/> Can someone help me please?<br/> <br/> Em sexta-feira, 7 de novembro de 2014 07:39:19 UTC, C. Westphal escreveu:<br/> <br/> You can create a Gam...
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: 371

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

<r><br/> So you don't know how can I run a file .gms from python script?<br/> <br/> Em domingo, 5 de agosto de 2012 14:40:09 UTC+1, Lucas Ianni escreveu:<br/> <br/> Hi<br/> <br/> Ive made a specific python program to solve a optimization problem =)<br/> The user enter the problem calling the functio...
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: 371

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

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

RE: How to find out the default solvers used?

<r><br/> Hi Sara<br/> <br/> <br/> <br/> - 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 ...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How to find out the default solvers used?
Replies: 2
Views: 218

Re: How to find out the default solvers used?

<r><br/> Dear Sara!<br/> <br/> In GAMS IDE <br/> <br/> Left upper corner -> "file"<br/> inside "option"<br/> inside "solver"<br/> <br/> Make Your choice!<br/> <br/> All the best! Andre<br/> <br/> <br/> 28.04.2016, 18:25, "Sara Amr" :<br/> > Hi,<br/> > <br/> > i'm solving two models, one MIP and anot...
by Archiver
1 year ago
Forum: Archive Google Group
Topic: How to find out the default solvers used?
Replies: 2
Views: 218

How to find out the default solvers used?

<r><br/> Hi,<br/> <br/> i'm solving two models, one MIP and another that is an NLP.<br/> how can i find out what are the default solvers that are used by GAMS to solve the models?<br/> <br/> Thanks,<br/> Sara <br/> <br/> -- <br/> To unsubscribe from this group and stop receiving emails from it, send...
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: 371

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

<r><br/> Hi Claudio!<br/> <br/> I changed my code based on your answer, and before that code I defined:<br/> gamspath= "F:\Otim\correct"<br/> filename= "F:\Otim\correct\ElGrV03.gms"<br/> <br/> but it still gives error like this:<br/> <br/> Runtime error <br/> Traceback (most recent call last):<br/> ...