<div dir="ltr"><div>I'm sorry. I send the message without finish it.<br></div>Here I send the complete ask.<br>Hi,<br>I'm new in pulp.<br>My doubt today is about the dynamic process with Pulp.<br><br>In the classic example in <a href="https://pythonhosted.org/PuLP/CaseStudies/a_blending_problem.html">https://pythonhosted.org/PuLP/CaseStudies/a_blending_problem.html</a><br><br>I need set a dynamic constrain. So, in this above example, I would set:<br>if x2=1,<br>else<br>x1+x2<=1,where  x1 and x2 E {0,1} what mean {ausence/presence}<br>that is: if I choose x2, I can't choose x1.<br><br>but this is dinamic, so if x3 =1,<br>else<br>x1+x2+x3<=1, where x1, x2 and x3 E {0,1} what mean {ausence/presence}<br><br>this is about river system, and what I want set is that the below river couldn't be a potential choice if some upstream river is choosed.<br><br>Someone have any clue of how I can resolve it programatically in Pulp?<br><br>cheers,<br>Koblitz<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-15 11:36 GMT-03:00 rodrigo koblitz <span dir="ltr"><<a href="mailto:rodrigokoblitz@gmail.com" target="_blank">rodrigokoblitz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br></div>I'm new in pulp.<br></div>My doubt today is about the dynamic process with Pulp.<br><br></div>In the classic example in <a href="https://pythonhosted.org/PuLP/CaseStudies/a_blending_problem.html" target="_blank">https://pythonhosted.org/PuLP/<wbr>CaseStudies/a_blending_<wbr>problem.html</a><br><br></div>I need set a dynamic constrain. So, in this above example, I would set:<br>x1+x2<=1, x1 and x2 E {0,1} what means {ausence/presence}<br><br></div>and <br><br><div><br><br></div></div>
</blockquote></div><br></div>