Selecting a Solver from Java

Hello,

I’m sucessfully using GAMS from Java with the code of the firs example in here: http://interfaces.gams-software.com/doku.php?id=env:spawning_gams_from_java

Now, I want to know if there is any chance to select a specific solver in the Java call. I know this can be done from the GAMS IDE, but I want to do it in the Java code. Is this posible? So far, I have not seen an example of that.

I hope anyone can help.


Best regards, Melina.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

Hi

It appears to me that all of the solver selecting ways should work.

You can pass it as a command line argument when you call gams (i.e. nlp=minos)

or write it in the .gms file (programatically or by hand). If you write it in the file, you should add the line “option nlp=minos” with the family of problems you are trying to solve and the solver name.

regards
Claudio


On Mon, Apr 29, 2013 at 8:33 AM, Melina Vidoni wrote:

Hello,

I’m sucessfully using GAMS from Java with the code of the firs example in here: http://interfaces.gams-software.com/doku.php?id=env:spawning_gams_from_java

Now, I want to know if there is any chance to select a specific solver in the Java call. I know this can be done from the GAMS IDE, but I want to do it in the Java code. Is this posible? So far, I have not seen an example of that.

I hope anyone can help.


Best regards, Melina.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\