@@ -51,7 +51,7 @@ TaskPerformConvexBounding::TaskPerformConvexBounding(EnvironmentPtr envPtr, bool
51
51
if (static_cast <ES_HyperplaneCutStrategy>(env->settings ->getSetting <int >(" CutStrategy" , " Dual" ))
52
52
== ES_HyperplaneCutStrategy::ESH)
53
53
{
54
- tUpdateInteriorPoint = std::make_shared<TaskUpdateInteriorPoint>(env);
54
+ taskUpdateInteriorPoint = std::make_shared<TaskUpdateInteriorPoint>(env);
55
55
taskSelectHPPts = std::make_shared<TaskSelectHyperplanePointsESH>(env);
56
56
}
57
57
else
@@ -95,6 +95,8 @@ TaskPerformConvexBounding::TaskPerformConvexBounding(EnvironmentPtr envPtr, bool
95
95
taskCreateMIPProblem = std::make_shared<TaskCreateMIPProblem>(env, MIPSolver, env->reformulatedProblem );
96
96
taskCreateMIPProblem->run ();
97
97
98
+ taskAddHyperplanes = std::make_shared<TaskAddHyperplanes>(env);
99
+
98
100
env->timing ->stopTimer (" ConvexBounding" );
99
101
}
100
102
@@ -211,19 +213,22 @@ void TaskPerformConvexBounding::run()
211
213
if (static_cast <ES_HyperplaneCutStrategy>(env->settings ->getSetting <int >(" CutStrategy" , " Dual" ))
212
214
== ES_HyperplaneCutStrategy::ESH)
213
215
{
214
- tUpdateInteriorPoint ->run ();
216
+ taskUpdateInteriorPoint ->run ();
215
217
static_cast <TaskSelectHyperplanePointsESH*>(taskSelectHPPts.get ())->run (solutionPoints);
216
218
}
217
219
else
218
220
{
219
221
static_cast <TaskSelectHyperplanePointsECP*>(taskSelectHPPts.get ())->run (solutionPoints);
220
222
}
223
+
224
+ taskAddHyperplanes->run ();
221
225
}
222
226
223
227
if (env->reformulatedProblem ->objectiveFunction ->properties .classification
224
228
> E_ObjectiveFunctionClassification::Quadratic)
225
229
{
226
230
taskSelectHPPtsByObjectiveRootsearch->run (solutionPoints);
231
+ taskAddHyperplanes->run ();
227
232
}
228
233
229
234
int hyperplanesAfter = env->solutionStatistics .numberOfHyperplanesWithConvexSource
0 commit comments