> 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. _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
