Improve error message when instance is infeasible

This commit is contained in:
2020-08-13 10:21:29 -05:00
parent 44df06bbfa
commit d8c9a1b30a
5 changed files with 43 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ using RELOG
@testset "Graph" begin
@testset "build_graph" begin
basedir = dirname(@__FILE__)
instance = RELOG.load("$basedir/../instances/s1.json")
instance = RELOG.parsefile("$basedir/../instances/s1.json")
graph = RELOG.build_graph(instance)
process_node_by_location_name = Dict(n.location.location_name => n
for n in graph.process_nodes)