demo/sample.lgf
author athos
Thu, 07 Dec 2006 16:10:54 +0000
changeset 2328 b4931ae52069
parent 1541 305ce06287c9
child 2416 261b4701405d
permissions -rw-r--r--
Query functions have been implemented for GLPK (CPLEX breaks at the moment, I guess): These functions include:
retrieving one element of the coeff. matrix
retrieving one element of the obj function
lower bd for a variable
upper bound for a variable
lower and upper bounds for a row (these can not be handled separately at the moment)
direction of the optimization (is_max() function)
     1 @nodeset
     2 label      coordinates_x   coordinates_y
     3 5       796.398 208.035
     4 4       573.002 63.002
     5 3       568.549 401.748
     6 2       277.889 68.476
     7 1       288.248 397.327
     8 0       102.239 257.532
     9 @edgeset
    10                 label      capacity
    11 4       5       6       8
    12 3       5       5       8
    13 2       4       4       5
    14 1       4       3       8
    15 1       3       2       5
    16 0       2       1       10
    17 0       1       0       10
    18 #This is a comment here
    19 @nodes
    20 source 0
    21 target 5
    22 @edges 
    23 @attributes 
    24 author "Attila BERNATH"
    25 @end