Skip to content

Commit 1655064

Browse files
authored
Merge pull request #26 from OptimalTransportNetworks/development
Default to nu = 2.
2 parents 6f45a6c + 4100acf commit 1655064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/init_parameters.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Returns a `param` dict with the model parameters. These are independent of the g
1616
- `N::Int64=1`: Number of goods traded in the economy (used for checks in `create_graph()`)
1717
- `labor_mobility::Any=false`: Switch for labor mobility (true/false or 'partial')
1818
- `cross_good_congestion::Bool=false`: Switch for cross-good congestion
19-
- `nu::Float64=1.5`: Elasticity of substitution b/w goods in transport costs if cross-good congestion
19+
- `nu::Float64=2`: Elasticity of substitution b/w goods in transport costs if cross-good congestion
2020
- `m::Vector{Float64}=ones(N)`: Vector of weights Nx1 in the cross congestion cost function
2121
- `annealing::Bool=true`: Switch for the use of annealing at the end of iterations (only if gamma > beta)
2222
- `verbose::Bool=true`: Switch to turn on/off text output (from Ipopt or other optimizers)
@@ -40,7 +40,7 @@ param = init_parameters(K = 10, labor_mobility = true)
4040
```
4141
"""
4242
function init_parameters(; alpha = 0.5, beta = 1, gamma = 1, K = 1, sigma = 5, rho = 2, a = 0.8, N = 1,
43-
labor_mobility = false, cross_good_congestion=false, nu = 1.5, m = ones(N),
43+
labor_mobility = false, cross_good_congestion=false, nu = 2, m = ones(N),
4444
annealing=true,
4545
verbose = true, duality = false, warm_start = true,
4646
kappa_min = 1e-5, min_iter = 20, max_iter = 200, tol = 1e-5, kwargs...)

0 commit comments

Comments
 (0)