glpk/lib/glpini02.js
/* sort structural variables within C2, C3, and C4 in ascending
     order of penalty value */
sort structural variables within C2, C3, and C4 in ascending
order of penalty value
sort structural variables within C2 C3 and C4 in ascending order of penalty value
function fcmp(col1, col2){
        if (col1.q < col2.q) return -1;
        if (col1.q > col2.q) return +1;
        return 0;
    }
function fcmp ( col1 , col2 ) { if ( col1 . q < col2 . q ) return - 1 ; if ( col1 . q > col2 . q ) return + 1 ; return 0 ; }
sort structural variables within C2, C3, and C4 in ascending
order of penalty value
sort structural variables within C2 C3 and C4 in ascending order of penalty value
/* this routine is passed to the qsort() function */