QPCCreateBox

create QPC Box instance; set the type of QPC to Box, set vector of variables, set index set of constrained components, set the value of lower and upper bounds

Synopsis

PetscErrorCode QPCCreateBox(MPI_Comm comm,IS is,Vec lb,Vec ub,QPC *qpc_out)

Parameters

comm - MPI comm
x - vector of variables
is - index set of constrained variables, if NULL then all compoments are constrained
lb - the vector with lower bounds values
ub - the vector with upper bounds values
qpc_out - pointer to QPC

Level

none

Location

src/qpc/impls/box/qpcbox.c
Index of all QPC routines
Table of Contents for all manual pages
Index of all manual pages