QPSetBox

Sets the box constraints.

Synopsis

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

Input Parameter

qp - the QP
is - index set of constrained variables; if NULL then all unknowns are constrained
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