------------------------------------------------------------ To: [email protected] Subject: [Help-glpk] [Fwd: Question] Message-ID: <1317190172.2995.0.camel@corvax> From: Andrew Makhorin <[email protected]> Date: Wed, 28 Sep 2011 10:09:32 +0400 ------------------------------------------------------------
-------- Forwarded Message -------- From: Amirhossein Sadoghi <[email protected]> To: [email protected] 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) : [email protected] Webmail (preferred) : [email protected] [from Webmail client] _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
