[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Problem with GLPK
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Problem with GLPK |
Date: |
Tue, 22 Mar 2016 08:50:00 +0300 |
> I have a mac Yosemite 10.10.5. I installed GLPK with brew (the command
> brew install glpk) and now I have glpk 4.56.
>
>
> When I try glpsol —help, it does work.
>
>
> But when I try to solve a Linear programming model, it does not work.
> I write my model on a TXT file (model.txt) and then I saved it on my
> Desktop. After that I use Terminal and write de command glpsol -m
> model.txt.
>
>
> I have:
>
>
> Samanthas-MacBook-Pro:~ laisamantha$ glpsol -m model.txt
> GLPSOL: GLPK LP/MIP Solver, v4.56
> Parameter(s) specified in the command line:
> -m model.txt
> Reading model section from model.txt...
> (unknown):0: unable to open model.txt - No such file or directory
> Context:
> MathProg model processing error
> Samanthas-MacBook-Pro:~ laisamantha$
>
>
>
>
> What is the problem? I really wrote my model correctly, and don’t what
> ” No such file or directory” means!
>
"No such file or directory" means that model.txt sits somewhere else,
but not in the current directory. You may enter the command "ls" to see
the current directory listing.
- Re: [Help-glpk] Problem with GLPK,
Andrew Makhorin <=