Sorry that I ask once more because I would like to understand it: Lpx_read_model is the function for reading a model file. The 3. parameter gives a file, in which output of the display-command is written. But this function doesn't solve the problem? And all display output comes as reaction of this call? So I don't understand the statement in the MathProg manual on page 30: "The solve statement causes solving the model, ..."
To solve the model I would call e.g. lpx_simplex. But in what way is the solution then displayed via a display-statement in the model file? Thank you Gottfried Lindner Mail: [EMAIL PROTECTED] Besuchen Sie unsere Homepage: http://www.ublindner.de -----Original Message----- From: Meketon, Marc [mailto:[EMAIL PROTECTED] Sent: Montag, 19. Juni 2006 15:35 To: Gottfried Lindner; help-glpk@gnu.org; yo yo Subject: RE: [Help-glpk] call solve statement multiple times You can have "display" and "print" statements after the "solve" statement. Which means you can display the solution. So the below first solves the model then calls a display statement to show the answer. ... model ... solve; display x; -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gottfried Lindner Sent: Monday, June 19, 2006 05:17 To: help-glpk@gnu.org Subject: RE: [Help-glpk] call solve statement multiple times Hello, To my understandig the solve-Statement in the model has no effect. There is an API call for reading the model, which fills the internal data structures. For solving the problem there are other API functions which must be called explicitly afterwords. Regards Gottfried Lindner Mail: [EMAIL PROTECTED] Besuchen Sie unsere Seite: http://www.informatikfuchs.de/Software/GLPK/LiMath_Optimierung.htm -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yo yo Sent: Montag, 19. Juni 2006 00:33 To: help-glpk@gnu.org Subject: [Help-glpk] call solve statement multiple times Hello, In the doc of MathProg language, it is said that we can't call the solve statement multiple times. Would it be possible to make it callable multiple times, so that we can make a revise of the matrix between the calls? (Like in the mosel language of XPress). This would be convenient to easily implement recursive linearisation algorithms. Thanks, Lionel. ________________________________________________________________________ ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com _______________________________________________ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk _______________________________________________ Help-glpk mailing list Help-glpk@gnu.org http://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 Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk