QPSetRhs
Set the QP right hand side (linear term) b with '-' sign, i.e. objective function 1/2*x'*A'*x - x'*b.
Synopsis
PetscErrorCode QPSetRhs(QP qp,Vec b)
Collective on QP
Input Parameters
| qp | - the QP
|
| b | - right hand side
|
See Also
QPSetRhsPlus(), QPGetRhs(), QPSetOperator(), QPSetEq(), QPAddEq(), QPSetIneq(), 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