[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: Question]
From: |
Robbie Morrison |
Subject: |
Re: [Help-glpk] [Fwd: Question] |
Date: |
Thu, 29 Sep 2011 06:25:55 +1300 (NZDT) |
User-agent: |
SquirrelMail/1.4.17 |
------------------------------------------------------------
To: address@hidden
Subject: [Help-glpk] [Fwd: Question]
Message-ID: <address@hidden>
From: Andrew Makhorin <address@hidden>
Date: Wed, 28 Sep 2011 10:09:32 +0400
------------------------------------------------------------
-------- Forwarded Message --------
From: Amirhossein Sadoghi <address@hidden>
To: address@hidden
Subject: Question
Date: Wed, 28 Sep 2011 05:44:34 +0200
> Hello
>
> I have got one question: I want to access to data which
> I loaded with model with code :
>
> tran = glp_mpl_alloc_wksp();
> glp_mpl_read_model(tran, "000209ekskogflis.mod", 1);
> glp_mpl_read_data(tran, "000209karta.dat");
> glp_mpl_generate(tran, NULL);
> glp_mpl_build_prob(tran, mip);
>
> In order to change some part data like 2 parameters and
> solve the problem again.
>
> OR Using a external Matrix and modify it in each
> iteration and then send it as part of data.
>
> Kindly Regards
Hello Amirhossein
It would be better to use something more descriptive
than "Question" in your subject line. You might get a
better response and others can subsequently search the
mailing list archives more easily.
I cannot help much with your problem but you may find
this GLPK wikibook page of use:
http://en.wikibooks.org/wiki/GLPK/Steps_of_GMPL_File_Processing
best wishes
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : address@hidden
Webmail (preferred) : address@hidden
[from Webmail client]