MipStartGenerator class
#include <gtopt/mip_start.hpp>
Pluggable strategy that turns the solved LP relaxation into a dense raw-space starting column vector (size == get_numcols()).
Constructors, destructors, conversion operators
- MipStartGenerator() defaulted
- MipStartGenerator(const MipStartGenerator&) deleted
- MipStartGenerator(MipStartGenerator&&) deleted
- ~MipStartGenerator() defaulted virtual
Public functions
- auto generate(MipStartContext& ctx) -> std::optional<std::vector<double>> pure virtual
- Produce the dense raw-space start vector, or
std::nulloptto skip. - auto name() const -> std::string_view pure virtual noexcept
- auto operator=(const MipStartGenerator&) -> MipStartGenerator& deleted
- auto operator=(MipStartGenerator&&) -> MipStartGenerator& deleted