SOLVED: Different results between glp_simplex() and gplsol

2024-04-11 Thread Edscott Wilson
Problem solved. Stupid mistakes are the hardest to find, at least for me. A single column had a different bound specification in my call to glp_simplex(). Different problems, different results. Same problem, same results. Anyways, glpk is amazing. Thank you all developers for such fine work! --

Different results between glp_simplex() and gplsol

2024-04-11 Thread Edscott Wilson
Hello, If I construct a matrix for a problem to feed glp_simplex() and run, [code] glp_smcp parm; glp_init_smcp(); int retval = glp_simplex(lp, ); double *x = calloc(vectorSize(data)+1, sizeof(double)); double z = glp_get_obj_val(lp); fprintf(stdout, "\nZ=%lf\n", z); [/code] I get the