write an optimization model in java

Questions on using the GAMS APIs (Python, .NET, etc.)
Post Reply
abb.omidi
User
User
Posts: 39
Joined: 6 years ago

write an optimization model in java

Post 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
abb.omidi
User
User
Posts: 39
Joined: 6 years ago

Re: write an optimization model in java

Post 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
Post Reply