@@ -3,7 +3,7 @@ using Graphs
33using HiGHS
44
55function create_optigraph (name)
6- graph = OptiGraph (;name= name)
6+ graph = OptiGraph (; name= name)
77 @optinode (graph, nodes[1 : 3 ])
88
99 # node 1
3535
3636# ## create optigraph
3737
38- graph = OptiGraph (;name= :graph )
38+ graph = OptiGraph (; name= :graph )
3939
4040graph1 = create_optigraph (:sg1 )
4141graph2 = create_optigraph (:sg2 )
@@ -69,7 +69,7 @@ all_neighbors(projection, n1)
6969
7070# query the neighbors to `n1` in `graph1`
7171subproj1 = hyper_projection (graph1)
72- all_neighbors (subproj1, n1)
72+ all_neighbors (subproj1, n1)
7373
7474# create an induced subgraph from a given set of nodes
7575induced_graph = induced_subgraph (projection, [n1, n2, n3])
@@ -85,4 +85,4 @@ optimize!(expanded_graph)
8585
8686# nodes store solution for each graph
8787println (" value(induced_graph, n1[:x]): " , value (induced_graph, n1[:x ]))
88- println (" value(expanded_graph, n1[:x]) " , value (expanded_graph, n1[:x ]))
88+ println (" value(expanded_graph, n1[:x]) " , value (expanded_graph, n1[:x ]))
0 commit comments