<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 17, 2015 at 3:55 PM, Justin Chang <span dir="ltr"><<a href="mailto:jychang48@gmail.com" target="_blank">jychang48@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am attempting to use TaoSetVariableBounds via petsc4py. Is there a way to set only lower bounds or upper bounds and not both? In PETSc I could replace one of the Vecs with NULL, but how would I do that with tao.setVariableBounds(...)? </div><div><br></div><div>It seems right now I can only do tao.setVariableBounds(lb_vec,ub_vec), and from inspection of the python source code, it seems I have to specify both?</div></div></blockquote><div><br></div><div>Can you jsut give None?</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks,</div><div>Justin</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>