[Help-glpk] Question about Lagrange multiplier

2007-11-26 Thread Gyenese János
Hi All,
 
I would like to build a library of the constrained maximization based on
Lagrange multiplier and using this multiplier a minimize library. (I have to
use Lagrange because the second library use the result of the first.) I do
not need the extremum only the Lagrange multiplier on the extremum.

I looked the manual of the glpk but I could not find the solutin for t he
above mentined issue. 

My question is are there any possibilities to get the Lagrange multiplier
using glpk? If yes the second part of the question: how to .

Any help appreciate.

Regards,

Janos

 

 

__

Korán keltem, hol az arany? :-)

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


[Help-glpk] incorrect version number in glpk.h

2007-11-26 Thread Andrew Makhorin
In glpk 4.24 the header glpk.h was not changed properly in order to
reflect the new minor version number.

To fix the bug please replace line 33 in file glpk.h:

#define GLP_MINOR_VERSION  23

by the following one:

#define GLP_MINOR_VERSION  24

This should be done before compiling and installing the package.



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


Re: [Help-glpk] GLPK-JNI

2007-11-26 Thread Andrew Makhorin
 I downloaded the Java-GLPK-Interface (GLPK 4.8) and was looking for
 JAVA implementations of a WLP (Warehouse
 Location Problem) in its many variations that is compatible with this
 interface. I would also be thankful if anyone can send larger WLP
 (many restrictions and variables) in Mathprog and Java.

Please see
http://lists.gnu.org/archive/html/help-glpk/2007-11/msg00036.html .
This is a MathProg implementation.



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


Re: [Help-glpk] Question about Lagrange multiplier

2007-11-26 Thread Andrew Makhorin
 I would like to build a library of the constrained maximization based on
 Lagrange multiplier and using this multiplier a minimize library. (I have
 to use Lagrange because the second library use the result of the first.)
 I do not need the extremum only the Lagrange multiplier on the extremum.

 I looked the manual of the glpk but I could not find the solutin for the
 above mentined issue.

 My question is 
 are there any possibilities to get the Lagrange multiplier using glpk? If yes
 the second part of the question: how to .

You can obtain Lagrange multipliers (that is, reduced costs) for a valid
basic solution with the routines glp_get_row_dual and glp_get_col_dual.
For more details, see the reference manual (subsection 3.1.1, page 90).




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