help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] [Fwd: help with GLPK solver installation]


From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: help with GLPK solver installation]
Date: Fri, 25 Nov 2016 20:46:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

Your screenshot shows lines coming from GLPK, e.g.

Model has been successfully generated.
glp_simplex: ...
Crashing ...
Size of triangular part = ...

So the GLPK libary has been loaded correctly. Nothing is wrong with the
PATH.

If you find output saying the problem does not have a feasable solution
this is not a bug of GLPK but a feature of the mathematical problem you
try to solve.

In this case at least GLPK 4.60 writes

PROBLEM HAS NO PRIMAL FEASIBLE SOLUTION
or
PROBLEM HAS NO DUAL FEASIBLE SOLUTION

Best regards

Heinrich Schuchardt




On 11/25/2016 08:29 PM, Alexander Tankou wrote:
> Dear Heinrich,
> 
> from the manual, I can see that the RunSimulation.exe is used with w32.
>  But is there a way I can double check that?
> 
> For the path variable this is the input value:
> 
> *;C:\Program Files (x86)\GnuWin32\bin; * (note the semi-colon at the
> beginning and at the end)
>  
> Should I then have it this way:
> 
> *;"C:\Program Files (x86)\GnuWin32\bin“; *
> 
> 
> From the manual it is written that  "/Glpk 4.34 /should be downloaded 
> to use the RunSimulation.exe file. While my model get successfully
> generated, no feasible solution are found like it can be seen from the
> picture attached. I really believe the issue I am having has to do with
> how I set the path variable.
> 
> Many thanks for the help, I really appreciate it!
> 
> Alex
> 
> 
> 
> 
>> On Nov 25, 2016, at 1:09 PM, Heinrich Schuchardt <address@hidden
>> <mailto:address@hidden>> wrote:
>>
>>
>> Hello Alex,
>>
>> GLPK for Windows comes with two directories:
>> w32 contains the 32bit library.
>> w64 contains the 64bit library.
>>
>> The bitness of the library in the path must match the bitness of the
>> executable RunSimulation.exe you try to run.
>>
>> When specifying paths with spaces use quotation marks.
>>
>> Furthermore the library API has changed significantly over time.
>> Which version of GLPK was RunSimulation.exe built for?
>>
>> Is there a log telling what error occured?
>> The screenshot does not provide enough diagnostic information.
>>
>> GLPK can be built from source on OS X.
>>
>> Best regards
>>
>> Heinrich Schuchardt
>>
>> On 11/20/2016 05:06 PM, Andrew Makhorin wrote:
>>> -------- Forwarded Message --------
>>> From:
>>> To: address@hidden <mailto:address@hidden>
>>> Subject: help with GLPK solver installation
>>> Date: Sun, 20 Nov 2016 08:56:37 -0500
>>>
>>> Dear friends,
>>>
>>>
>>> I have  installed GLPK for the first time on my window PC (I use window
>>> 7) but for some reasons my command prompt cannot locate the file and I
>>> keep getting an error message (see picture attached)
>>>
>>>
>>> Here is the step by step process that  I have followed:
>>>
>>>
>>> 1) downloaded GLPK from this
>>> link: https://sourceforge.net/projects/winglpk/
>>>
>>>
>>> 2) installed GLPK in my C drive
>>>
>>>
>>> 3) set the path variable so that command prompt knows where GLPK is
>>> located (made sure I used the semi colon at the beginning and at the end
>>> of the path)
>>>
>>>
>>> Yet every time I try to run my simulation, I get an error message.
>>>
>>>
>>> How should I  proceed to have it working on my pc windows ? By the way
>>> can GLPK be used on macbook?
>>>
>>>
>>> Thank you so much for the help.
>>>
>>>
>>> Alex
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Help-glpk mailing list
>>> address@hidden <mailto:address@hidden>
>>> https://lists.gnu.org/mailman/listinfo/help-glpk
>>>
>>
> 




reply via email to

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