nicojensen.de/vendor/bundle/gems/rouge-3.3.0/lib/rouge/demos/mosel
Nico Jensen b59a203dbb Init
Init commit
2019-03-12 13:49:49 +01:00

10 lines
419 B
Text

(!******************************************************
Mosel Example Problems
*******************************************************!)
! Objective function: total daily cost
Cost:= sum(p in TYPES, t in TIME) (CSTART(p)*start(p,t) +
LEN(t)*(CMIN(p)*work(p,t) + CADD(p)*padd(p,t)))
! Limit on power production above minimum level
forall(p in TYPES, t in TIME) padd(p,t) <= (PMAX(p)-PMIN(p))*work(p,t)