<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.&nbsp;&nbsp;x[i,j] * R_lan[i,k] &gt;= 10)&nbsp;&nbsp;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)&nbsp;x[i,j] = 0 &nbsp; -&gt; &nbsp;&nbsp;x[i,j] * R_lan[i,k] &gt;= 10 &nbsp;-&gt; False, because 0&gt;=10 is wrong</div><div>2)&nbsp;x[i,j] = 1 &nbsp; -&gt; &nbsp;&nbsp;x[i,j] * R_lan[i,k] &gt;= 10 &nbsp;-&gt; True or False, because 1* &nbsp;R_lan[i,k]&nbsp;&gt;=10 is true if&nbsp;R_lan[i,k] &gt;= 10 or false if&nbsp;R_lan[i,k] &lt; 10</div><div><br></div><div>A better formulation could be:</div><div>R_lan[i,k] &gt;= 10&nbsp;* x[i,j]&nbsp;</div><div><br></div><div>because:</div><div><div>1)&nbsp;x[i,j] = 0 &nbsp; -&gt; &nbsp;R_lan[i,k] &gt;= 10&nbsp;* x[i,j]&nbsp;&nbsp;-&gt; True, because&nbsp;R_lan[i,k]&nbsp;&gt;=0 is true</div><div>2)&nbsp;x[i,j] = 1 &nbsp; -&gt; &nbsp;R_lan[i,k] &gt;= 10&nbsp;* x[i,j]&nbsp; -&gt; True, because R_lan[i,k]&nbsp;&gt;=10 is true if&nbsp;R_lan[i,k] &gt;= 10 or &nbsp;if&nbsp;R_lan[i,k] &lt; 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>&lt;During the Second World War the Royal Air Force.docx&gt;</span><span>&lt;final test4.cmpl&gt;</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>