Page 1 of 1

write an optimization model in java

Posted: Sun Feb 25, 2018 1:47 pm
by abb.omidi
Hello all
I trying to write an optimization model in Java API directly.
I read gams java API tutorial. I can define sets, parameters & variables in java but I don't define optimization model in java.
pls, let me know, can I write my model in java directly or gams java API don't support this functions and I force to write the model in the gams ide and run it from java?
(for instance, in IBM CPLEX software, we can define directly optimization model in java code with specific class and function and solved it separate from ide).

Best regard

Re: write an optimization model in java

Posted: Tue Feb 27, 2018 6:30 am
by abb.omidi
Dear Michael
Thanks for your replay.

Pls, let me know, how can I define multidimensional sets & alias them in the Java API?

Best regards