<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Pryanki,<div><br></div><div>I did not check the entire model. But your first group of constraints (e.g. x[i,j] * R_lan[i,k] >= 10) forces your model to be infeasible:</div><div><br></div><div>For the two cases for a x[i,j] we have the following results</div><div>1) x[i,j] = 0 -> x[i,j] * R_lan[i,k] >= 10 -> False, because 0>=10 is wrong</div><div>2) x[i,j] = 1 -> x[i,j] * R_lan[i,k] >= 10 -> True or False, because 1* R_lan[i,k] >=10 is true if R_lan[i,k] >= 10 or false if R_lan[i,k] < 10</div><div><br></div><div>A better formulation could be:</div><div>R_lan[i,k] >= 10 * x[i,j] </div><div><br></div><div>because:</div><div><div>1) x[i,j] = 0 -> R_lan[i,k] >= 10 * x[i,j] -> True, because R_lan[i,k] >=0 is true</div><div>2) x[i,j] = 1 -> R_lan[i,k] >= 10 * x[i,j] -> True, because R_lan[i,k] >=10 is true if R_lan[i,k] >= 10 or if R_lan[i,k] < 10 then x[i,j] is forced to become 0</div></div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Mike</div><div><br></div><div><br><div><div>Am 17.09.2013 um 18:40 schrieb Priyanki Sharma:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div class="msg-body inner undoreset" role="main" style=""><div id="yiv3612471458"><div><div style="color:#000;background-color:#fff;font-family:tahoma, new york, times, serif;font-size:10pt;"><div>Hello ,<br></div><div><br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;">I
have been trying to solve this cmpl code. It gives infeasible all the
time. I don't understand why this is happening. I have attached the
question in a word document and the cmpl code . I am trying to solve the
first part of the question but there is something wrong with the first
constraint called " con1". I just can't figure out what is going wrong.
Its quite urgent. Could someone please help. I would really appreciate
any help asap.</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;">Thanks<br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;">Regards</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;">Priyanki </div></div></div></div></div></div></div><span><During the Second World War the Royal Air Force.docx></span><span><final test4.cmpl></span>_______________________________________________<br>Cmpl mailing list<br><a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a><br>http://list.coin-or.org/mailman/listinfo/cmpl</blockquote></div><br></div></body></html>