[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: First time user]
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] [Fwd: First time user] |
Date: |
Tue, 03 Apr 2012 06:16:10 +0200 |
Dear Amirhosein,
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
Coopr creates a text file, calls glpsol, and then tries to read the solution
from the output file. If the model has not solution there will be no output
file. This behaviour is described in
https://software.sandia.gov/trac/coopr/ticket/4328
Please, retrieve the model file and run it through glpsol to find out where the
problem is.
I do not know what coopr assumes as default optimization direction. If it is
maximization your problem is unbounded.
For issues in coopr, please create a ticket on
https://software.sandia.gov/trac/coopr/query
Interfacing a solver via text files does not offer full control over the
solver. There are other Python interfaces for GLPK which directly call the GLPK
library, see
http://en.wikibooks.org/wiki/GLPK/Python
Best regards
Xypron
> -------- Forwarded Message --------
> Subject: First time user
> Date: Mon, 2 Apr 2012 12:49:27 -0700 (PDT)
>
> Hi,
>
>
> I'm planning to use GLPK solver for the first time through python
> environment. I've installed python, cooper, and GLPK solver. Then I run
> the batch file and put the generated two files in the path directory.
> When I run a simple example, I get this error (attached file). I would
> be grateful to you if you could help me.
>
>
> Thanks,
> Amirhosein Norouzi
>
>
>
--
Follow me at http://twitter.com/#!/xypron
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a