demo/graph_orientation.lgf
author athos
Thu, 07 Dec 2006 16:10:54 +0000
changeset 2328 b4931ae52069
parent 1687 7dc3abbb7636
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 coordinates_x	coordinates_y	f	label	
     3 -198	-73	2	7	
     4 120	30	4	6	
     5 -17	222	1	5	
     6 328	147	1	4	
     7 247	-179	0	3	
     8 -28	-93	1	2	
     9 -131	83	3	1	
    10 @edgeset 
    11 		label	
    12 7	6	3	
    13 1	6	2	
    14 2	6	1	
    15 4	5	10	
    16 6	5	6	
    17 3	4	9	
    18 6	4	7	
    19 2	3	12	
    20 6	3	8	
    21 7	2	4	
    22 5	1	11	
    23 7	1	5	
    24 @nodes 
    25 @edges 
    26 @attributes 
    27 @end