Sorry about that; I 're-solved' my problem. Guess the dust on this
project was a bit thicker than I thought.
Hope this is clear, but I thick the 'mip' solution file format of GLPK
is the one stated below.
Note that the #rows (m) is increased by one, and the objective value is
stated once more between the rows and the columns.
Not sure why though...
Timon
GLPK SOLUTION FILE FORMAT:
* The file created by the routine glp_write_sol is a plain text file,
* which contains the following information:
*
* m+1 n
* stat obj_val
* r_val[1]
* . . .
* r_val[m]
> * obj_val
* c_val[1]
* . . .
* c_val[n]
*
* where:
* m is the number of rows (auxiliary variables);
* n is the number of columns (structural variables);
* stat is the solution status (GLP_UNDEF = 1, GLP_FEAS = 2,
* GLP_NOFEAS = 4, or GLP_OPT = 5);
* obj_val is the objective value;
* r_val[i], i = 1,...,m, is the value of i-th row;
* c_val[j], j = 1,...,n, is the value of j-th column. */
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk