From b5d74a62532aec9aef6d2a1732d8bd6547ae817f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=81=D0=B5=D0=BB=D1=91=D0=B2=20=D0=92=D0=BB?= =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2?= Date: Mon, 12 Nov 2018 23:53:24 +0300 Subject: [PATCH] test on shortest path --- .gitignore | 2 ++ test/simple_shortest_path.ipp | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 test/simple_shortest_path.ipp diff --git a/.gitignore b/.gitignore index 10916f9..b3b9ebf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ out/* Conversion.iml .idea/dictionaries/Vlad_kv.xml +test/result.txt +test/out_1.mzn diff --git a/test/simple_shortest_path.ipp b/test/simple_shortest_path.ipp new file mode 100644 index 0000000..1bde80f --- /dev/null +++ b/test/simple_shortest_path.ipp @@ -0,0 +1,49 @@ +Cargoes +0; Груз1 +Berths +1;Raid +2;Pier 1 +3;Pier 2 +4;Pier 3 +5;Pier 4 +6;Pier 5 +7;Pier 6 +Storages +Bunkers +Tows +Loading Equipments +Transport Ships +11;Ship 1;0.0 +12;Ship 2;0.0 + +Templates +101;mov;[];11;1;4;[];3.0 +102;mov;[];11;1;2;[];4.0 +103;mov;[];11;1;5;[];10.0 +104;mov;[];11;2;3;[];9.0 +105;mov;[];11;3;1;[];5.0 +106;mov;[];11;4;6;[];2.0 +107;mov;[];11;5;6;[];1.0 +108;mov;[];11;6;3;[];7.0 +109;mov;[];11;6;7;[];5.0 +110;mov;[];11;7;3;[];3.0 + +Cargo Flows +Initial Vessel State +11;1 +12;1 +Initial Storage State +0;11;0.0 +0;12;0.0 +Final Vessel State +11;3 +12;1 +Final Storage State +0;11;0.0 +0;12;0.0 + +Task Properties +30.0;0 + +Solution +12.0 -- GitLab