> 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




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

Reply via email to