write an optimization model in java

Questions on using the GAMS APIs (Python, .NET, etc.)
Post Reply
abb.omidi
User
User
Posts: 9
Joined: 1 year ago

write an optimization model in java

Post by abb.omidi » 7 months ago

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: 9
Joined: 1 year ago

Re: write an optimization model in java

Post by abb.omidi » 7 months ago

Dear Michael
Thanks for your replay.

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

Best regards

mithrajoseph
User
User
Posts: 1
Joined: 6 months ago

Re: write an optimization model in java

Post by mithrajoseph » 5 months ago

JOM (Java Optimization Modeler) is a free and open-source Java library targeted to allowing Java programs modeling and solving optimization problems, defining their input parameters, decision variables, objective function, and constraints. The optimization model of java is based on JOM.
java training in chennai

Post Reply