> Those two code with same row and column, but the answers are
> different. 
> IPTCP always return "0.0" and SMCP return true answer.
> (But both method's result show "OPTIMAL SOLUTION FOUND")

> Did I miss some configure about IPTCP or other stupid mistake?

Both glp_simplex and glp_interior return a code that indicates whether
the instance has been processed successfully to the end (zero) or not
(non-zero). To obtain the objective function value corresponding to the
optimal solution found you need to call glp_get_obj_val or
glp_ipt_obj_val, resp. For more details please see the glpk reference
manual (doc/glpk.pdf) included in the distribution.

> 
> By the way , where could I find other sample code using different
> method with GLPK?
> 
 
See http://en.wikibooks.org/wiki/GLPK


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to