Be careful about the pre-processing that GLPK does. If pre-processing is turned on (and that is the default) then the intermediate solutions may not be in the same form as the final solution.
From: Help-glpk [mailto:[email protected]] On Behalf Of Heinrich Schuchardt Sent: Tuesday, November 14, 2017 9:31 AM To: wilko heitkoetter; Help Glpk Subject: Re: [Help-glpk] writing values of variables to log file every iteration Hello Wilko, you will need some programming. If by iteration you refer to tbe branch and bound for MIPs implement a callback function. If you refer to Simplex iterations you will have to modify the coding of the GLPK library. Regards Heinrich -- Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet. Am 14.11.17, 15:25, wilko heitkoetter <[email protected]<mailto:[email protected]>> schrieb: Dear Developers, I am a PhD student at University of Oldenburg (Germany). For troubleshooting, I would like GLPK to do the following, while solving an optimization problem: For every iteration, the values that are assigned to the variables of the optimization problem at the respective iteration, shall be written to the log file. Would this be possible? If yes, which option would I have to pass to the solver? Already checked out the documentation and mailing list, but didnt find an answer. I would be very grateful for an advise. Best regards Wilko Heitkoetter _______________________________________________ Help-glpk mailing list [email protected]<mailto:[email protected]> https://lists.gnu.org/mailman/listinfo/help-glpk ________________________________ This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail. Thank you for your cooperation.
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
