Hello Yi,

yes you can do the optimization with GLPK for Java.

Please, study the examples files provided with GLPK for Java, e.g.
glpk-java-1.0.15/examples/java/Mip.java

You can download the source of GLPK for Java from
http://glpk-java.sourceforge.net.

For the documentation of the GLPK API, please, read
glpk-4.45/doc/glpk.pdf available in the source distribution of GLPK
ftp://ftp.gnu.org/gnu/glpk/glpk-4.45.tar.gz

Best regards

Xypron


On 01.08.2011 09:21, Zong, Yi wrote:

 

 

Hi!

I have an objective function described as following, which is lineal:

   

 

     The optimized variables are , which are integers in [0, 10],

is a lineal function of  an 

, and And W is a weight value.

 

   Can I use GLPK for JAVA to get the optimized results? If it is possible, could you give me an example?

 

Thank you in advance,

 

 

Yi Zong

Scientist

Intelligent Energy Systems

cid:part1.08080004.06010707@risoe.dtu.dk

Technical University of Denmark

dtu

Risø National Laboratory for Sustainable Energy

Frederiksborgvej 399,

Building 776

4000  Roskilde

Direct +45 4677 5045

[email protected]

www.risoe.dtu.dk

 

 

_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to