From a8f7b0cfa8028f53809b965e6f6ddb35b4b2511f Mon Sep 17 00:00:00 2001 From: odow Date: Mon, 11 Sep 2023 10:02:13 +1200 Subject: [PATCH 1/2] [docs] update package versions --- docs/Project.toml | 8 ++++---- docs/packages.toml | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 3eb649a2f3e..65ed8a72e6e 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -44,17 +44,17 @@ Documenter = "0.27.9, 0.28" Dualization = "0.5" GLPK = "=1.1.2" HTTP = "1.5.4" -HiGHS = "=1.5.2" +HiGHS = "=1.6.0" Interpolations = "0.14" Ipopt = "=1.4.2" JSON = "0.21" JSONSchema = "1" Literate = "2.8" -MathOptInterface = "=1.19.0" +MathOptInterface = "=1.20.0" MultiObjectiveAlgorithms = "=1.2.0" -PATHSolver = "=1.6.0" +PATHSolver = "=1.6.1" Plots = "1" -SCS = "=1.3.0" +SCS = "=1.3.1" SQLite = "1" StatsPlots = "0.15" Tables = "1" diff --git a/docs/packages.toml b/docs/packages.toml index 692d8b79649..45dfa35e72c 100644 --- a/docs/packages.toml +++ b/docs/packages.toml @@ -32,11 +32,11 @@ # ============================= jump-dev packages ============================ # [AmplNLWriter] - rev = "v1.1.0" + rev = "v1.2.0" [BARON] - rev = "v0.8.1" + rev = "v0.8.2" [Cbc] - rev = "v1.1.1" + rev = "v1.2.0" [Clp] rev = "v1.0.3" [CPLEX] @@ -53,9 +53,9 @@ [GLPK] rev = "v1.1.2" [Gurobi] - rev = "v1.0.2" + rev = "v1.0.3" [HiGHS] - rev = "v1.5.2" + rev = "v1.6.0" [Ipopt] rev = "v1.4.2" [KNITRO] @@ -63,7 +63,7 @@ [MiniZinc] rev = "v0.3.0" [MosekTools] - rev = "v0.15.0" + rev = "v0.15.1" [MultiObjectiveAlgorithms] rev = "v1.2.0" has_html = true @@ -81,7 +81,7 @@ rev = "v0.7.0" extension = true [SCS] - rev = "v1.3.0" + rev = "v1.3.1" [SDPA] rev = "v0.5.0" [SDPNAL] @@ -117,7 +117,7 @@ has_html = true [COPT] user = "COPT-Public" - rev = "v1.1.5" + rev = "v1.1.7" [COSMO] user = "oxfordcontrol" rev = "v0.8.8" @@ -171,10 +171,10 @@ has_html = true [SCIP] user = "scipopt" - rev = "v0.11.13" + rev = "v0.11.14" [SDDP] user = "odow" - rev = "v1.6.1" + rev = "v1.6.3" has_html = true extension = true [Tulip] From ad31fec11e483744051a91012987cddd52905e8d Mon Sep 17 00:00:00 2001 From: odow Date: Mon, 11 Sep 2023 10:28:50 +1200 Subject: [PATCH 2/2] Fix docs --- docs/src/manual/models.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/manual/models.md b/docs/src/manual/models.md index 3a9609d32e6..e6e36441de4 100644 --- a/docs/src/manual/models.md +++ b/docs/src/manual/models.md @@ -291,8 +291,10 @@ julia> time_limit_sec(model) julia> unset_time_limit_sec(model) -julia> time_limit_sec(model) -Inf +julia> limit = time_limit_sec(model) + +julia> limit === nothing +true ``` If your time limit is encoded as a `Dates.Period` object, use the following code