Re: [Help-glpk] Solving shortest path problem and getting wrong answer

2010-04-25 Thread Merike
22.04.2010 22:31, Andrew Makhorin kirjutas: > Glpsol solves your instance correctly, so you need to check your mps > file. > > Writing models in mps format by hand is cumbersome. You may look at > the example model spp.mod, which solves the shortest path problem and > is written in MathProg model

Re: [Help-glpk] Solving shortest path problem and getting wrong answer

2010-04-22 Thread Andrew Makhorin
> I'm trying to solve shortest path problem using glpsol and mps format. I > have it working correct with one example but I'm getting wrong results > with another one and I can't understand if there's something wrong with > my input or if it's glpsol that gives wrong output. > My directed graph is

[Help-glpk] Solving shortest path problem and getting wrong answer

2010-04-22 Thread Merike
Hi, I'm trying to solve shortest path problem using glpsol and mps format. I have it working correct with one example but I'm getting wrong results with another one and I can't understand if there's something wrong with my input or if it's glpsol that gives wrong output. My directed graph is