Hello Noli,

 I hope Andrew is reading this and will implement 'shell" command

AMPL offers the following syntax:

shell 'command-line' optional_redirection;
shell optional_redirection;

optional_redirection is something like "> out.txt" or ">> out.txt"

The first syntax executes command_line.
The second syntax invokes a shell (Linux console, or Windows console ("cmd"))and returns to AMPL when the shell is terminated.

(see Robert Fourer, AMPL, 2nd edition)

These commands make sense in AMPL, because it is an interactive language.

What will be the added value for GLPK users compared to using a shell script?

Best regards

Xypron




_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to