summaryrefslogtreecommitdiffstats
path: root/src/act4e_mcdp_solution/solution.py
diff options
context:
space:
mode:
authorAndrea Censi <AndreaCensi@users.noreply.github.com>2023-05-26 17:44:29 +0200
committerAndrea Censi <AndreaCensi@users.noreply.github.com>2023-05-26 17:44:29 +0200
commitd2e8c038929bbea945f6fc04e4e5f6847e5c2b24 (patch)
tree37267d7006470ea9f6455601c040498ea34b9f3f /src/act4e_mcdp_solution/solution.py
parentmisc (diff)
downloadact4e-mcdp-d2e8c038929bbea945f6fc04e4e5f6847e5c2b24.tar.gz
act4e-mcdp-d2e8c038929bbea945f6fc04e4e5f6847e5c2b24.zip
ciskip
Diffstat (limited to 'src/act4e_mcdp_solution/solution.py')
-rw-r--r--src/act4e_mcdp_solution/solution.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/act4e_mcdp_solution/solution.py b/src/act4e_mcdp_solution/solution.py
index 0a207d0..4704807 100644
--- a/src/act4e_mcdp_solution/solution.py
+++ b/src/act4e_mcdp_solution/solution.py
@@ -7,7 +7,9 @@ __all__ = ["MySolution"]
class MySolution(SolverInterface):
def solve_FixFunMinRes(self, model: NamedDP, query: Mapping[str, Any]) -> UpperSet[Mapping[str, Any]]:
+ # returns the empty upper set - marking it as infeasible
return UpperSet([])
def solve_FixResMaxFun(self, model: NamedDP, query: Mapping[str, Any]) -> LowerSet[Mapping[str, Any]]:
+ # returns the empty upper set - marking it as infeasible
return LowerSet([])