[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: RES: script file foo.run]
From: |
Robbie Morrison |
Subject: |
Re: [Help-glpk] [Fwd: RES: script file foo.run] |
Date: |
Wed, 17 Aug 2011 01:28:42 +1200 (NZST) |
User-agent: |
SquirrelMail/1.4.17 |
Hi Joao
------------------------------------------------------------
To: address@hidden
Subject: [Help-glpk] [Fwd: RES: script file foo.run]
Message-ID: <address@hidden>
From: Andrew Makhorin <address@hidden>
Date: Fri, 29 Jul 2011 16:52:06 +0400
------------------------------------------------------------
> -------- Forwarded Message --------
> From: Joao Flavio de Freitas Almeida <address@hidden>
> To: 'address@hidden' <address@hidden>
> Cc: 'address@hidden' <address@hidden>, 'Jo?o Fl?vio de Freitas
> Almeida' <address@hidden>
> Subject: RES: [Help-glpk] script file foo.run
> Date: Fri, 29 Jul 2011 08:55:02 -0300
>
> Thanks Xypron for the quick answer!
>
> The content of foo.run could have: (I send attached a
> file as an example)
>
> 1. All printf functions (separating it from the model
> file and setting the extensions .txt, .xls ?etc without
> need to set these parameters on model file) as the
> example below:
>
> From: (param Finance, symbolic, default " Finance.txt";)
> To: ( >>Finance.txt) at the end of each printf line.
>
> 2. All Glpk run parameters available on glpsol --help:
>
> 3. And a functionality to solve different random
> problems setting parameters for loopping commands
> (using param, let, reset and solve commands) for robust
> or stochastic optimization besides the model and data
> (glpsol -m mymodel.mod -d mydata.dat) calls.
[snip]
> Best regards
>
> Jo?o Fl?vio F. Almeida
Here are a couple of pointers to scripts that invoke
GLPSOL. They may provide some of the functionality you
were suggesting (or at least give a starting point for
further development):
http://en.wikibooks.org/wiki/GLPK/Using_GLPSOL#Passing_values_via_the_command-line
http://en.wikibooks.org/wiki/GLPK/Using_GLPSOL#xglpsol_bash_script
See also:
http://en.wikibooks.org/wiki/GLPK/Scripting_plus_MathProg
thanks for your contribution, 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]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-glpk] [Fwd: RES: script file foo.run],
Robbie Morrison <=