Commit 862b3343 authored by Jorn Baayen's avatar Jorn Baayen

fix control tree unit tests

parent b8a66dae
......@@ -27,6 +27,11 @@ class TestProblem(ControlTreeMixin, ModelicaMixin, CollocatedIntegratedOptimizat
# Collocation points
return np.linspace(0.0, 1.0, 21)
def parameters(self, ensemble_member):
parameters = super().parameters(ensemble_member)
parameters['u_max'] = 2.0
return parameters
def pre(self):
# Do nothing
pass
......@@ -131,6 +136,11 @@ class TestProblemDijkverruiming(ControlTreeMixin, ModelicaMixin, CollocatedInteg
# Collocation points
return np.array([0.0, 0.25, 0.5, 0.75])
def parameters(self, ensemble_member):
parameters = super().parameters(ensemble_member)
parameters['u_max'] = 2.0
return parameters
def pre(self):
# Do nothing
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment