Dear Xu, There is also the option of trying the compatibility layer provided in directory examples/oldapi which may help in your case.
Best Regards, Chris Matrakidis On 14 April 2017 at 09:15, Heinrich Schuchardt <[email protected]> wrote: > Dear Xu, > > your mail had to be forwarded manually because you are not subscribed to > the GLPK help list. See > https://lists.gnu.org/mailman/listinfo/help-glpk > > You are trying to use functions that have been replaced in the GLPK > library several years ago. > > The best thing to do would be to update the code of ILPSolver.cpp to use > the current API (see glpk-4.61/doc/glpk.pdf). > > Or you will have to determine which outdated version of GLPK > ILPSolver.cpp was written for (definitely before 4.53). > > Best regards > > Heinrich Schuchardt > > On 04/14/2017 07:44 AM, Andrew Makhorin wrote: >> -------- Forwarded Message -------- >> To: help-glpk <[email protected]> >> Subject: question about GLPK >> Date: Thu, 13 Apr 2017 11:03:04 +0800 >> >> Hello, I am a student of Qingdao Technological University. I have some >> problems with using GLPK 4.60. >> I have installed GLPK, compiled in. cpp file, an error occurs: >> ILPSolver.cpp: (.Text+0x126a): undefined reference to >> `glp_lpx_get_obj_dir' >> ILPSolver.cpp: (.Text+0x127d): undefined reference to >> `glp_lpx_get_obj_dir' >> ILPSolver.cpp: (.Text+0x1291): undefined reference to >> `glp_lpx_get_class' >> ILPSolver.cpp: (.Text+0x129f): undefined reference to >> `glp_lpx_get_class' >> ILPSolver.cpp: (.Text+0x12e4): undefined reference to >> `glp_lpx_read_cpxlp' >> ILPSolver.cpp: (.Text+0x12f2): undefined reference to >> `glp_lpx_delete_prob' >> ..... >> >> >> >> >> >> _______________________________________________ >> Help-glpk mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/help-glpk >> > > > _______________________________________________ > Help-glpk mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-glpk _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
