[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

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

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

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

Best regards


> -------- 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!/xypron

NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
Jetzt informieren:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]