rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/mosel

11 lines
419 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
(!******************************************************
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)