34 bp::class_<QPDataBase>(
"QPDataBase")
35 .def_readonly(
"H", &QPDataBase::H,
"Cost matrix")
37 .def_readonly(
"CE", &QPDataBase::CE,
"Equality constraint matrix")
38 .def_readonly(
"ce0", &QPDataBase::ce0);
40 bp::class_<QPData, bp::bases<QPDataBase>>(
"QPData")
41 .def_readonly(
"CI", &QPData::CI,
"Inequality constraint matrix")
42 .def_readonly(
"lb", &QPData::ci_lb,
"Inequality constraint lower bound")
43 .def_readonly(
"ub", &QPData::ci_ub,
"Inequality constraint upper bound");
45 bp::class_<QPDataQuadProg, bp::bases<QPDataBase>>(
"QPDataQuadProg")
46 .def_readonly(
"CI", &QPDataQuadProg::CI,
47 "Inequality constraint matrix (unilateral)")
49 "ci0", &QPDataQuadProg::ci0,
50 "Inequality constraint vector (stacked lower and upper bounds)");
QPDataTpl< double > QPData
QPDataQuadProgTpl< double > QPDataQuadProg
QPDataBaseTpl< double > QPDataBase
static void expose(const std::string &class_name)
void exposeConstraintLevel()
static void expose(const std::string &class_name)