You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
# 0.2.0
2
+
3
+
* The reason for the less than ideal numerical problems of the exact dual solution for the Hessian with `cross_good_congestion = true` in v0.1.9 was that the sparse hessian had too few elements. This release fixes the problem by adding some additional off-diagonal elements to the sparse hesssian. The heuristic algorithm is now removed as the exact one always gives better solves (`duality = true` and `duality = 2` both call the exact algorithm now).
4
+
1
5
# 0.1.9
2
6
3
7
* The exact dual solution for the Hessian with `cross_good_congestion = true` does not have good numerical properties in some cases. Therefore, by default now an approximate solution is used which works better for most problems. Users can set `duality = 2` to use the exact solution in the CGC case.
Copy file name to clipboardExpand all lines: src/main/init_parameters.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Returns a `param` dict with the model parameters. These are independent of the g
20
20
- `m::Vector{Float64}=ones(N)`: Vector of weights Nx1 in the cross congestion cost function
21
21
- `annealing::Bool=true`: Switch for the use of annealing at the end of iterations (only if gamma > beta)
22
22
- `verbose::Bool=true`: Switch to turn on/off text output (from Ipopt or other optimizers)
23
-
- `duality::Bool=true`: Switch to turn on/off duality whenever available (fixed labor and beta <= 1). Note that if `cross_good_congestion == true`, setting `duality = 2` uses an exact algorithm to compute the hessian, which has however not shown good numerical properties in some cases.
23
+
- `duality::Bool=true`: Switch to turn on/off duality whenever available (fixed labor and beta <= 1).
24
24
- `warm_start::Bool=true`: Use the previous solution as a warm start for the next iteration
25
25
- `kappa_min::Float64=1e-5`: Minimum value for road capacities K
26
26
- `min_iter::Int64=20`: Minimum number of iterations
0 commit comments