From e45dd5af9c3808bb133b3175c3869112c5699e91 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Tue, 22 Oct 2024 12:06:00 +1300 Subject: [PATCH 1/2] [docs] update version of HiGHS and MOI --- docs/Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 7f33e859cc2..1d750157221 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -54,14 +54,14 @@ Enzyme = "0.13.7" ForwardDiff = "0.10" GLPK = "=1.2.1" HTTP = "1.5.4" -HiGHS = "=1.9.2" +HiGHS = "=1.10.1" Interpolations = "0.14" Ipopt = "=1.6.6" JSON = "0.21" JSONSchema = "1" Literate = "2.8" MarkdownAST = "0.1" -MathOptInterface = "=1.31.2" +MathOptInterface = "=1.32.0" MultiObjectiveAlgorithms = "=1.3.3" PATHSolver = "=1.7.8" ParametricOptInterface = "0.8.1" From ec06ea3c5829cee3e9c2658f60274c0c42c657f5 Mon Sep 17 00:00:00 2001 From: odow Date: Tue, 22 Oct 2024 13:53:42 +1300 Subject: [PATCH 2/2] Fix --- docs/src/developers/extensions.md | 5 +++++ docs/src/manual/solutions.md | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/docs/src/developers/extensions.md b/docs/src/developers/extensions.md index da5a960ef56..0c4376bf2da 100644 --- a/docs/src/developers/extensions.md +++ b/docs/src/developers/extensions.md @@ -472,6 +472,11 @@ Presolving model 0 rows, 0 cols, 0 nonzeros 0s Presolve: Optimal + Nodes | B&B Tree | Objective Bounds | Dynamic Constraints | Work + Proc. InQueue | Leaves Expl. | BestBound BestSol Gap | Cuts InLp Confl. | LpIters Time + + 0 0 0 0.00% 2 2 0.00% 0 0 0 0 0.0s + Solving report Status Optimal Primal bound 2 diff --git a/docs/src/manual/solutions.md b/docs/src/manual/solutions.md index d3f1a53d071..786fa6b25c6 100644 --- a/docs/src/manual/solutions.md +++ b/docs/src/manual/solutions.md @@ -79,12 +79,12 @@ julia> solution_summary(model) Primal status : FEASIBLE_POINT Dual status : FEASIBLE_POINT Objective value : -2.05143e+02 - Objective bound : -0.00000e+00 - Relative gap : Inf + Objective bound : -2.05143e+02 + Relative gap : 1.38546e-16 Dual objective value : -2.05143e+02 * Work counters - Solve time (sec) : 6.70987e-04 + Solve time (sec) : 6.01048e-04 Simplex iterations : 2 Barrier iterations : 0 Node count : -1 @@ -102,8 +102,8 @@ julia> solution_summary(model; verbose = true) Primal status : FEASIBLE_POINT Dual status : FEASIBLE_POINT Objective value : -2.05143e+02 - Objective bound : -0.00000e+00 - Relative gap : Inf + Objective bound : -2.05143e+02 + Relative gap : 1.38546e-16 Dual objective value : -2.05143e+02 Primal solution : x : 1.54286e+01 @@ -113,7 +113,7 @@ julia> solution_summary(model; verbose = true) c1 : 1.71429e+00 * Work counters - Solve time (sec) : 6.70987e-04 + Solve time (sec) : 6.01048e-04 Simplex iterations : 2 Barrier iterations : 0 Node count : -1 @@ -186,8 +186,8 @@ the value of the dual objective can be obtained via julia> objective_value(model) -205.14285714285714 -julia> objective_bound(model) # HiGHS only implements objective bound for MIPs --0.0 +julia> objective_bound(model) +-205.1428571428571 julia> dual_objective_value(model) -205.1428571428571 @@ -423,7 +423,7 @@ julia> set_upper_bound(x, 1) julia> x_val = value(x) ┌ Warning: The model has been modified since the last call to `optimize!` (or `optimize!` has not been called yet). If you are iteratively querying solution information and modifying a model, query all the results first, then modify the model. -└ @ JuMP ~/work/JuMP.jl/JuMP.jl/src/optimizer_interface.jl:712 +└ @ JuMP ~/.julia/dev/JuMP/src/optimizer_interface.jl:1085 ERROR: OptimizeNotCalled() Stacktrace: [...] @@ -716,11 +716,11 @@ julia> solution_summary(model; result = 1) Dual status : NO_SOLUTION Objective value : [0.00000e+00,0.00000e+00] Objective bound : [0.00000e+00,-9.00000e+00] - Relative gap : Inf - Dual objective value : -9.00000e+00 + Relative gap : 0.00000e+00 + Dual objective value : -3.33067e-16 * Work counters - Solve time (sec) : 1.82720e-03 + Solve time (sec) : 5.34880e-01 Simplex iterations : 0 Barrier iterations : 0 Node count : -1