From 4b0a04d4c1cc935be4f0b1053bbdfc1c53121a37 Mon Sep 17 00:00:00 2001
From: Wurzelkoch <wurzelkoch@users.sf.net>
Date: Sun, 15 Dec 2019 11:21:03 +0100
Subject: [PATCH] Altes Rezept als Vergleichswert (ref)

---
 Rezept.dat |  2 ++
 Rezept.mod |  1 +
 ref.dat    | 10 ++++++++++
 3 files changed, 13 insertions(+)
 create mode 100644 ref.dat

diff --git a/Rezept.dat b/Rezept.dat
index 012880f..cd0de2a 100644
--- a/Rezept.dat
+++ b/Rezept.dat
@@ -12,3 +12,5 @@ param werte: Calories Carbs Protein Fat Sodium Potassium Chloride Fiber Calcium
 include werte.dat;
 
 include config.dat; #Für penalty-Werte
+
+include ref.dat;
diff --git a/Rezept.mod b/Rezept.mod
index a175108..95f7b0d 100644
--- a/Rezept.mod
+++ b/Rezept.mod
@@ -6,6 +6,7 @@ param werte {z in ZUTATEN, s in STOFFE} >= 0;
 param minwert {s in STOFFE} >= 0 default 0;
 param maxwert {s in STOFFE} >= 0 default Infinity;
 var menge {z in ZUTATEN} >= 0;
+param ref {z in ZUTATEN} >= 0 default 0;
 
 param bezugsmenge {z in ZUTATEN} default 100; #nicht immer ist menge in 100g, teilweise in Stück
 param weight_penalty >= 0 <= 1 default 0.05;       #Transportkosten je 100g
diff --git a/ref.dat b/ref.dat
new file mode 100644
index 0000000..b82299a
--- /dev/null
+++ b/ref.dat
@@ -0,0 +1,10 @@
+param ref :=
+feingemahleneHaferflockenOR 150
+SojaflockenOR 110
+JodsalzOR 4
+MultivitamineOR 1.5
+SonnenblumenölOR 30
+PuderzuckerOR 150
+ErbsenproteinOR 50
+WeizenmehlOR 70
+