diff --git a/Project.toml b/Project.toml index 39d9650f..1dd329c2 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Tulip" uuid = "6dd1b50a-3aae-11e9-10b5-ef983d2400fa" authors = ["Mathieu Tanneau "] -version = "0.7.3" +version = "0.7.4" [deps] CodecBzip2 = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd" diff --git a/src/Presolve/empty_row.jl b/src/Presolve/empty_row.jl index e9a9b5bd..9dd20602 100644 --- a/src/Presolve/empty_row.jl +++ b/src/Presolve/empty_row.jl @@ -35,7 +35,7 @@ function remove_empty_row!(ps::PresolveData{T}, i::Int) where{T} ps.solution.is_dual_ray = true ps.solution.z_primal = ps.solution.z_dual = T(Inf) i_ = ps.new_con_idx[i] - ps.solution.y_upper[i] = one(T) + ps.solution.y_upper[i_] = one(T) return elseif lb > zero(T) @debug "Row $i is primal infeasible" @@ -74,4 +74,4 @@ function postsolve!(sol::Solution{T}, op::EmptyRow{T}) where{T} sol.y_lower[op.i] = pos_part(op.y) sol.y_upper[op.i] = neg_part(op.y) return nothing -end \ No newline at end of file +end diff --git a/src/Tulip.jl b/src/Tulip.jl index 0fc89b56..ddef9ff3 100644 --- a/src/Tulip.jl +++ b/src/Tulip.jl @@ -7,7 +7,7 @@ using SparseArrays using TimerOutputs -version() = v"0.7.3" +version() = v"0.7.4" include("utils.jl")