diff options
author | Andrea Censi <AndreaCensi@users.noreply.github.com> | 2023-11-01 10:24:43 +0100 |
---|---|---|
committer | Andrea Censi <AndreaCensi@users.noreply.github.com> | 2023-11-01 10:24:43 +0100 |
commit | c073cf4d57a81a86a9f34356a11519cfddd65eb1 (patch) | |
tree | 74c4c94ab7cb314ba464ad83a9de87e06a9b8847 | |
parent | misc (diff) | |
download | act4e-c073cf4d57a81a86a9f34356a11519cfddd65eb1.tar.gz act4e-c073cf4d57a81a86a9f34356a11519cfddd65eb1.zip |
misc
-rw-r--r-- | src/act4e_solutions/currency_ex.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/act4e_solutions/currency_ex.py b/src/act4e_solutions/currency_ex.py new file mode 100644 index 0000000..c0b6b1b --- /dev/null +++ b/src/act4e_solutions/currency_ex.py @@ -0,0 +1,12 @@ +import act4e_interfaces as I + + +class SolCurrencyOptimization(I.CurrencyOptimization): + def compute_optimal_conversion( + self, + available: I.SemiCategory[I.RichObject[str], I.RichMorphism[I.CurrencyExchanger]], + source: str, + amount: float, + target: str, + ) -> I.OptimalSolution: + pass |