[Help-glpk] Interface between GLPK and Matlab

2015-02-23 Thread Le Van Duc
Dear all, I have implemented a mixed integer linear programming (MIP) problem using GNU MathProg, which is expected to be included as a part of Matlab program (m-file). It means that while the Matlab program is running, the MIP will be continuously called, and the result of MIP given by GLPSOL

Re: [Help-glpk] Interface between GLPK and Matlab

2015-02-23 Thread Heinrich Schuchardt
glpk_mex does not support running gmpl files. Please, consider if you could launch glpsol via system(). Best regards Heinrich Schuchardt http://www.xypron.de Am 23.02.15 um 15:33 schrieb Le Van Duc Dear all, I have implemented a mixed integer linear programming (MIP) problem using

Re: [Help-glpk] Write solution on database

2015-02-23 Thread Heinrich Schuchardt
Hello Diana, glpk-java/examples/java/GlpkSwing.java shows what needs to be done. Run glpk/examples/tsp.mod and press the terminate button. You will see an output like ... + 7505: mip = 6.85900e+03 = 6.72900e+03 1.9% (143; 254) SEARCH TERMINATED BY APPLICATION Optimal tour has