QPIsSolved

Is the QP solved, i.e. is the vector returned by QPGetSolutionVector() the sought-after minimizer? Set to PETSC_TRUE if QPSSolve() converges (last QP in chain) or the post-solve function has been called.

Synopsis

PetscErrorCode QPIsSolved(QP qp,PetscBool *flg)
Not Collective

Input Parameter

qp -the QP
Output Parameter
flg -true if solved

See Also

QPGetSolutionVector(), QPSSolve(), QPChainPostSolve()

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