[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] call solve statement multiple times
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] call solve statement multiple times |
Date: |
Mon, 19 Jun 2006 21:41:43 +0400 |
> 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?
You need to make the difference between the language semantics and
a particular implementation. The user who writes a model in MathProg
uses the solve statement to solve his model and obtain a solution;
formally he knows nothing about lpx_read_model. Glpk api in this case
is a metalevel.