QPSetIneq

Sets the inequality constraints.

Synopsis

PetscErrorCode QPSetIneq(QP qp, Mat Bineq, Vec cineq)
Collective on QP

Input Parameters

qp - the QP
Bineq - boolean matrix representing the inequality constraints placement
cineq - vector prescribing inequality constraints

See Also

QPGetIneq(), QPSetOperator(), QPSetRhs(), QPSetEq(), QPAddEq(), QPSetBox(), 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