Hello Vera,

the last statement of the model and of the data file should be:
end;

Otherwise you get a warning
"warning: unexpected end of file; missing end statement inserted"
This will not stop the model from being solved.

If you start a comment with /* and forget the closing */ you will get an
error
"terminating execution: unexpected end of file; comment sequence incomplete"

If neither is your problem, please, provide an example file and the version
of
GLPK you are using.

Best regards

Xypron



Vera Silinsh wrote:
> 
> Hallo, I am trying to solve example problem: transport problem. if I type
> glpsol --model Model.txt --data Data.txt I get the message: Model.txt
> unexpected end of file I would be very happy, if you can write me, what i
> can du. 
> Best Regards, Vera 
> 

-- 
View this message in context: 
http://www.nabble.com/Missing-end-statment.-tp24315619p24316124.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to