#include "petsctao.h" PetscErrorCode TaoBoundSolution(Vec X, Vec XL, Vec XU, PetscReal bound_tol, PetscInt *nDiff, Vec Xout)Collective on Vec
X | - solution vector | |
XL | - lower bound vector | |
XU | - upper bound vector | |
bound_tol | - absolute tolerance in enforcing the bound |
nDiff | - total number of vector entries that have been bounded | |
Xout | - modified solution vector satisfying bounds to bound_tol |