summaryrefslogtreecommitdiffstats
path: root/src/act4e_solutions
diff options
context:
space:
mode:
Diffstat (limited to 'src/act4e_solutions')
-rw-r--r--src/act4e_solutions/currency_ex.py12
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