From c9c025618571db61d431924934eef6d01a30182a Mon Sep 17 00:00:00 2001 From: Andrea Censi Date: Fri, 26 May 2023 17:41:21 +0200 Subject: misc --- src/act4e_mcdp_solution/solution.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/act4e_mcdp_solution/solution.py (limited to 'src/act4e_mcdp_solution/solution.py') 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([]) -- cgit v1.2.1