QPSetBox

Sets the box constraints.

Synopsis

PetscErrorCode QPSetBox(QP qp, Vec lb, Vec ub)
Collective on QP

Input Parameter

qp - the QP
lb - lower bound
ub - upper bound

See Also

QPGetBox(), QPSetOperator(), QPSetRhs(), QPSetEq(), QPAddEq(), QPSetIneq(), QPSetInitialVector(), QPSSolve()

Level:beginner
Location:
src/qp/interface/qp.c
Index of all QP routines
Table of Contents for all manual pages
Index of all manual pages