rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/mosel
2019-10-21 10:18:17 +02:00

11 lines
419 B
Plaintext

(!******************************************************
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)