summaryrefslogtreecommitdiffstats
path: root/src/act4e_mcdp_solution/solution.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/act4e_mcdp_solution/solution.py')
-rw-r--r--src/act4e_mcdp_solution/solution.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/act4e_mcdp_solution/solution.py b/src/act4e_mcdp_solution/solution.py
new file mode 100644
index 0000000..0a207d0
--- /dev/null
+++ b/src/act4e_mcdp_solution/solution.py
@@ -0,0 +1,13 @@
+from typing import Any, Mapping
+
+from act4e_mcdp import NamedDP, SolverInterface, UpperSet, LowerSet
+
+__all__ = ["MySolution"]
+
+
+class MySolution(SolverInterface):
+ def solve_FixFunMinRes(self, model: NamedDP, query: Mapping[str, Any]) -> UpperSet[Mapping[str, Any]]:
+ return UpperSet([])
+
+ def solve_FixResMaxFun(self, model: NamedDP, query: Mapping[str, Any]) -> LowerSet[Mapping[str, Any]]:
+ return LowerSet([])