martensjostrand/EvalMatch — Issue #2: Modeling the target function.
Author: martensjostrand
Created: 2012-02-16 20:18:38+00:00
State: open

Using *max: s1*x1 + s2*x2* can yield too many evaluations to write. If a receiver is satisfied while one of it's unused writers has more capacity the writer will be assigned to the receiver.

Modeling the target function as *max -(N-s1)*x1 - (N-s2)*x2* will prevent this since this reflect the fact that there is a cost related to writing an evaluation.

Symbols used:
* x1, x2 binary variables
* s1, s2 costs related to x1 and x2
* N an arbitrary big number s.t. N > all s*.