diff options
author | Andrea Censi <AndreaCensi@users.noreply.github.com> | 2023-05-27 13:53:35 +0200 |
---|---|---|
committer | Andrea Censi <AndreaCensi@users.noreply.github.com> | 2023-05-27 13:53:35 +0200 |
commit | 8771e2a26aa400fc08066a87f83cc21454eff2a3 (patch) | |
tree | f6a18a97ada8db4a5e81d458937bdba0109cba6e /src/act4e_mcdp_solution/solution.py | |
parent | misc (diff) | |
download | act4e-mcdp-8771e2a26aa400fc08066a87f83cc21454eff2a3.tar.gz act4e-mcdp-8771e2a26aa400fc08066a87f83cc21454eff2a3.zip |
ciskip
Diffstat (limited to 'src/act4e_mcdp_solution/solution.py')
-rw-r--r-- | src/act4e_mcdp_solution/solution.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/act4e_mcdp_solution/solution.py b/src/act4e_mcdp_solution/solution.py deleted file mode 100644 index 4704807..0000000 --- a/src/act4e_mcdp_solution/solution.py +++ /dev/null @@ -1,15 +0,0 @@ -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]]: - # 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([]) |