[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] glpk help

From: glpk xypron
Subject: Re: [Help-glpk] glpk help
Date: Wed, 13 Jun 2012 20:03:50 +0200

Dear Sajal,

GLPK comes both with the standalone solver GLPK as well as with a library which 
you can call from your own program written in C, C++, Java, or some other 
languages (cf.

As described in glpk-4.47/doc/glpk.pdf, chapter 5 you can use a callback 
routine to change the problem while solving a mixed integer problem. The 
callback routine cannot be used with all language interfaces. C, C++, and Java 
are known to be usable.

Consider switching of the presolver, when you want to change the cost matrix.

Best regards


-------- Original-Nachricht --------
> Datum: Wed, 13 Jun 2012 16:24:09 +0530
> Betreff: [Help-glpk] glpk help

> Hello,
>         Say I have a file name g1.mod. I am running it in the terminal
> with
> the command "glpsol --model g1.mod --output g1.sol". After solving it is
> giving the ultimate solution and saving it in g1.sol. The ultimate
> information about x[i,j,k] I am getting in g1.sol. I don't have any
> control
> over x[i,j,k] during the solving process. Now my question is when glpk
> solving my  g1.mod and changing the x[i,j,k] internally in different
> iteration , can I know that information and can get the control over
> x[i,j,k] so that depending on that information I can change some of the
> cost matrix dynamically? May be it is clear what exactly I want? Please
> help. Any suggestion will be helpful.
> -- 
> Sajal Mukhopadhyay,
> Asst. Professor,
> NIT,Durgapur,
> Durgapur-9.

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]