From fae21c4b1b16eec8633d2db6ba48416b812fcb39 Mon Sep 17 00:00:00 2001 From: Alinson S Xavier Date: Fri, 21 Aug 2020 16:13:08 -0500 Subject: [PATCH] Minor fixes --- src/docs/model.md | 4 ++-- src/model.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/docs/model.md b/src/docs/model.md index adae0f8..e391e09 100644 --- a/src/docs/model.md +++ b/src/docs/model.md @@ -9,7 +9,7 @@ In this page, we describe the precise mathematical optimization model used by RE * $L$ - Set of locations holding the original material to be recycled * $M$ - Set of materials recovered during the reverse manufacturing process * $P$ - Set of potential plants to open -* $T=\{1, \ldots, t^{max}\}$ - Set of time periods +* $T = \{ 1, \ldots, t^{max} \} $ - Set of time periods ### Constants @@ -28,7 +28,7 @@ In this page, we describe the precise mathematical optimization model used by RE **Products:** * $\alpha_{pm}$ - Amount of material $m$ recovered by plant $t$ for each tonne of original material (`tonne/tonne`) -* $m^\text{initial}_{lt}$ - Amount of original material to be recycled at location $l$ during time $t$ (tonne) +* $m^\text{initial}_{lt}$ - Amount of original material to be recycled at location $l$ during time $t$ (`tonne`) **Transportation:** diff --git a/src/model.jl b/src/model.jl index 9aee946..13e183d 100644 --- a/src/model.jl +++ b/src/model.jl @@ -203,7 +203,7 @@ function solve(instance::Instance; if optimizer == nothing milp_optimizer = optimizer lp_optimizer = optimizer - else + end @info "Building graph..." graph = RELOG.build_graph(instance)