[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Linear formulation of a small problem

From: esma mehiaoui
Subject: [Help-glpk] Linear formulation of a small problem
Date: Mon, 16 Jul 2012 12:29:26 +0100 (BST)

I'm trying to formulate the following small problem by linear constraints , could someone help me to do it?
if (A[t'] = 0) then " Z[t,t'] =0 "
if (A[t'] = 1) then " Z[t,t'] = W[t] / sum {i in s{t'}: P[s] * R[s] } " in this case the sum is never 0 because A[t'] != 0
R[s] is a parameter
W[t] is a real variable
P[s] and A[t'] are boolean variables
Thank you very much
Best regards

reply via email to

[Prev in Thread] Current Thread [Next in Thread]