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)
9 * This file is a part of LEMON, a generic C++ optimization library
11 * Copyright (C) "$YEAR"
12 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
13 * (Egervary Research Group on Combinatorial Optimization, EGRES).
15 * Permission to use, modify and distribute this software is granted
16 * provided that this copyright notice appears in all copies. For
17 * precise terms see the accompanying LICENSE file.
19 * This software is provided \"AS IS\" with no warranty of any kind,
20 * express or implied, and with no claim as to its suitability for any
27 /\/\* / && pm==0 { pm=1;}
28 /[^:blank:]/ && (pm==0 || pm==2) { pm=3; print;}
29 /\*\// && pm==1 { pm=2;}
33 mv $TMP_FILE $FILE_NAME