1111#include " c_maes.hpp"
1212#include " to_string.hpp"
1313#include " es.hpp"
14-
1514namespace py = pybind11;
1615
1716PYBIND11_MAKE_OPAQUE (restart::vCriteria);
@@ -604,7 +603,7 @@ void define_parameters(py::module &main)
604603 py::class_<Settings, std::shared_ptr<Settings>>(m, " Settings" )
605604 .def (py::init<size_t , std::optional<Modules>, std::optional<Float>, size_to, size_to, std::optional<Float>,
606605 std::optional<size_t >, std::optional<size_t >, std::optional<Vector>,
607- std::optional<Vector>, std::optional<Vector>,
606+ std::optional<Vector>, std::optional<Vector>, std::optional<Indices>,
608607 std::optional<Float>, std::optional<Float>, std::optional<Float>,
609608 std::optional<Float>, std::optional<Float>, std::optional<Float>,
610609 bool , bool >(),
@@ -619,6 +618,7 @@ void define_parameters(py::module &main)
619618 py::arg (" x0" ) = std::nullopt ,
620619 py::arg (" lb" ) = std::nullopt ,
621620 py::arg (" ub" ) = std::nullopt ,
621+ py::arg (" integer_variables" ) = std::nullopt ,
622622 py::arg (" cs" ) = std::nullopt ,
623623 py::arg (" cc" ) = std::nullopt ,
624624 py::arg (" cmu" ) = std::nullopt ,
@@ -668,6 +668,7 @@ void define_parameters(py::module &main)
668668 ss << " x0: " << to_string (settings.x0 );
669669 ss << " lb: " << settings.lb .transpose ();
670670 ss << " ub: " << settings.ub .transpose ();
671+ ss << " integer_variables: " << settings.integer_variables .transpose ();
671672 ss << " cs: " << to_string (settings.cs );
672673 ss << " cc: " << to_string (settings.cc );
673674 ss << " cmu: " << to_string (settings.cmu );
0 commit comments