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

Reply via email to