11 bp::enum_<ConvergenceFlag>(
"ConvergenceFlag",
"Convergence flag enum.")
16 bp::class_<Results>(
"Results",
"Results holder struct.",
17 bp::init<context::Problem &>(bp::args(
"self",
"problem")))
18 .def_readonly(
"converged", &Results::converged)
19 .def_readonly(
"merit", &Results::merit,
"Merit function value.")
20 .def_readonly(
"value", &Results::value)
21 .def_readonly(
"xopt", &Results::x_opt)
22 .def_readonly(
"data_lamsopt", &Results::data_lams_opt)
23 .def_readonly(
"lamsopt", &Results::lams_opt)
24 .def_readonly(
"activeset", &Results::active_set)
25 .def_readonly(
"num_iters", &Results::num_iters)
26 .def_readonly(
"mu", &Results::mu)
27 .def_readonly(
"rho", &Results::rho)
28 .def_readonly(
"dual_infeas", &Results::dual_infeas)
29 .def_readonly(
"prim_infeas", &Results::prim_infeas)
30 .def_readonly(
"constraint_errs", &Results::constraint_violations,
31 "Constraint violations.")
32 .def(bp::self_ns::str(bp::self));