Skip to content

Commit b2b1d4b

Browse files
committed
No duality in basic example (doesn't seem to work).
1 parent f94b7de commit b2b1d4b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/annealing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Runs the simulated annealing method starting from network `I0`. Only sensible if
3737
# Examples
3838
```julia
3939
# Nonconvex case, disabling automatic annealing
40-
param = init_parameters(K = 10, gamma = 2, annealing = false)
40+
param = init_parameters(K = 10, gamma = 2, annealing = false, duality = false)
4141
graph = create_graph(param)
4242
graph[:Zjn][61] = 10.0
4343
results = optimal_network(param, graph)

src/main/optimal_network.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Solve for the optimal network by solving the inner problem and the outer problem
2121
2222
# Examples
2323
```julia
24-
param = init_parameters(K = 10)
24+
param = init_parameters(K = 10, duality = false)
2525
graph = create_graph(param)
2626
graph[:Zjn][61] = 10.0
2727
results = optimal_network(param, graph)

src/main/plot_graph.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Plot a graph visualization with various styling options.
4949
5050
# Examples
5151
```julia
52-
param = init_parameters(K = 10)
52+
param = init_parameters(K = 10, duality = false)
5353
graph = create_graph(param)
5454
graph[:Zjn][51] = 10.0
5555
results = optimal_network(param, graph)

0 commit comments

Comments
 (0)