help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Mathprog > SQLite/MySQL > GNUPlot - (Graphing LP and MIP


From: Andrew Makhorin
Subject: Re: [Help-glpk] Mathprog > SQLite/MySQL > GNUPlot - (Graphing LP and MIP results)
Date: Sun, 13 Jun 2010 08:29:32 +0400

> solve;
> table result{i in I, j in J: x[i,j]} OUT "ODBC"
>   'DSN=SQLITE3'
>   'DELETE FROM transp_result;'
>   'INSERT INTO transp_result VALUES (?,?,?)' :
>   i ~ LOC1, j ~ LOC2, x[i,j].val ~ PRIMAL, x[i,j].dual ~ DUAL;

> Xypron, how to write LOC1 and LOC2 into one data entry, e.g. ROUTE

> ROUTE for LOC1 and LOC2
> 'Seattle - New York',

(i & ' - ' & j)~ROUTE






reply via email to

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