<div dir="ltr"><div><div><div><div>How can I model this kind of problem with petsc 3.5.2 and<br></div>petsc4py? The demo examples are unconstrained optimization ones<br></div><div>in all the petsc versions...<br></div><div><br></div>Please, I need any python scrip to deal with problems like:<br><br></div>minimize sum(x) subject to. x >= 0 and Ax = b<br><br>It will be great.<br><br></div><div>Sorry about the elementar question. I need to couple optimization<br>features to FEM python projects like FEniCS.<br></div><div><br>Andre Machado<br></div></div>