Skip to content

Commit

Permalink
do not multiply sp sol var value by col val (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
guimarqu authored Sep 28, 2021
1 parent 00b48ec commit 6edb71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MOIwrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ function BD.value(info::ColumnInfo, index::MOI.VariableIndex)
varid = info.optimizer.env.varids[index]
origin_form_uid = getoriginformuid(info.column_var_id)
spform = get_dw_pricing_sps(info.optimizer.inner.re_formulation)[origin_form_uid]
return info.column_val * getprimalsolmatrix(spform)[varid, info.column_var_id]
return getprimalsolmatrix(spform)[varid, info.column_var_id]
end

function MOI.get(model::Coluna.Optimizer, ::MOI.NumberOfVariables)
Expand Down

0 comments on commit 6edb71d

Please sign in to comment.