Re: [Help-glpk] QUESTION ABOUT GLPK

2009-10-16 Thread Andrew Makhorin
 I would like to know if it is possible to implement more than one objective
 function at the same time.
 I've revised the manual that is on the web, and I've found that the simplex
 method uses LU factorization to solve optimization problems working out with 
 an
 objective function.

 Do you know if there is any possibility to join more than one objective
 functions by means of factorization or another kind of method?

Your question is not clear. If you need to estimate constraints for
additional objectives, you could introduce them into the instance as
free rows, i.e. as rows having no lower/upper bounds, and then compute
correspodning rows of the simplex table with glp_eval_tab_row at optimal
point that would give you reduced costs of the additional objectives.
In any case the simplex method assumes only one objective function.





___
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk


Re: [Help-glpk]question about GLPK API

2009-05-24 Thread bo liu
it works!
thanks for your quick response!

2009/5/25 Andrew Makhorin m...@gnu.org

  i have a question that can i get the value of Marginal column of the
  result through the GLPK API?

  how can i get it?

my GLPK is 4.34 (for windows)

 glp_get_row_dual and glp_get_col_dual




-- 
刘博
___
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk


RE: [Help-glpk] Question about GLPK

2005-08-11 Thread Noli.Sicad

Here, at the University of Chile, we are interested in developing some 
optimization
rutines for various engineering problems. I understand that GLPK (linear
programming rutine) comes with an API for C, C++ written language programs
¿exclusively? Does this GLPK run (or complie) under pure LINUX? Is it  
possible
to implement in Java written programs?

Sorry, the link was not working for this.
http://rpmfind.net//linux/RPM/cooker/2006.0/i586/media/contrib/python-glpk-0.4-2mdk.i586.html

This is the one you should be downloading.
http://rpm.pbone.net/index.php3?stat=26dist=17size=14146name=python-glpk-0.4-2mdk.src.rpm

python-glpk-0.4-2mdk.src.rpm has this glpk.i.

* In src rpm, there is glpk.i which you can use to create java bindings for * 
glpk. Hence, you can write program in java. Or you can use python-glpk and * 
use jython for java application, if you don't want to create java-glpk

* http://www.jython.org/


Noli


___
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk


RE: [Help-glpk] Question about GLPK

2005-08-11 Thread Noli.Sicad
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, 12 August 2005 7:06 AM
To: help-glpk@gnu.org
Subject: Re: [Help-glpk] Question about GLPK

On Thursday 11 August 2005 21:01, Frank Leañez wrote:
 Is it possible to implement in Java written programs?

I don't know nothing about Java (I seem to recall that the Java interface   
is now maintained separately from GLPK), but here

 http://qosip.tmit.bme.hu/~retvari/Math-GLPK.html

I downloaded Math-GLPK-Solve-0.05.tar.gz from
http://qosip.tmit.bme.hu/~retvari/perl-modules/

and have a look what is inside.

Gabor, use SWIG as well. Hence, you can use glpk.i, etc. files to make 
java-glpk bindings.

Noli




___
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk