Skip to content

Commit c9ac1b5

Browse files
committed
[FIX] Hotfix problem in extensive formulation
1 parent 9c19bd8 commit c9ac1b5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/extensiveFormulation.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,8 @@ function extensive_formulation(model,
9595
solved = (status == :Optimal)
9696

9797
if solved
98-
<<<<<<< HEAD
99-
return getobjectivevalue(mod), status
100-
=======
101-
firstControl = collect(values(getValue(u)))[1:DIM_CONTROL*laws[1].supportSize]
102-
return getObjectiveValue(mod), firstControl, status
103-
>>>>>>> dev-release-v0.1.2
98+
firstControl = collect(values(getvalue(u)))[1:DIM_CONTROL*laws[1].supportSize]
99+
return getobjectivevalue(mod), firstControl, status
104100
else
105101
error("Extensive formulation not solved to optimality. Change the model")
106102
end

0 commit comments

Comments
 (0)