Altes Rezept als Vergleichswert (ref)
This commit is contained in:
parent
fcf4a3177a
commit
4b0a04d4c1
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue