[Top][All Lists]

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

[Help-glpk] Re: Fwd: Gusek question

From: Luiz Bettoni
Subject: [Help-glpk] Re: Fwd: Gusek question
Date: Thu, 30 Jul 2009 17:45:08 -0300
User-agent: Thunderbird (Windows/20090605)

Hi, Yaron.

Gusek was made like a fork of the SciTE editor dedicated to GLPK.
So, you can use SciTE native resources like:

A) Edit / include menus to run external tools /scripts
See Menu options -> open

B) Use Lua Scripting

C) Directly run batch files
Open a batch file in Gusek then "run" it.
For example: you can run a custom batch file from Gusek,
calling glpsol.exe to solve your model, and then performing another tasks, like this:
glpsol.exe --cuts -m "test.mod"
call mybatch.bat
delete *.tmp
The batch output will be show in the Gusek output pane.

Tip: you can use GMPL to generate dynamic batch files too, echoing
commands like below, and call them from another batch file.
param myfile symbolic := "test.bat";
printf "echo off\n" > myfile;
printf "echo Hello, there!\n" >> myfile;
printf "pause\n" >> myfile;
Wish this tips helps.


Yaron Kretchmer escreveu:
Here's a Gusek question for you: Can I specify a post-processing script (like a shell script ) that will be run once Gusek is done solving?

Regards from California


---------- Forwarded message ----------
From: Yaron Kretchmer <address@hidden>
Date: Thu, Jul 30, 2009 at 10:36 AM
Subject: Gusek question
To: address@hidden

Hi There.
I'd like to run a post-processing script (i.e. some shell script of windows batch) after GLPK has been run, so as the results are better formatted. Is there a hook in Gusek to do that?


reply via email to

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