From da705aa43912eb5a833bd19ea1f9152da58a03df Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Thu, 31 Oct 2024 17:52:11 +0000 Subject: [PATCH] MAINT: Remove simplexcrashstrategy from highspy Co-authored-by: jajhall --- src/highs_bindings.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/highs_bindings.cpp b/src/highs_bindings.cpp index e1b01e2f0b..575968b997 100644 --- a/src/highs_bindings.cpp +++ b/src/highs_bindings.cpp @@ -8,7 +8,6 @@ #include "Highs.h" #include "lp_data/HighsCallback.h" -#include "simplex/SimplexConst.h" namespace py = pybind11; using namespace pybind11::literals; @@ -1163,22 +1162,6 @@ PYBIND11_MODULE(_core, m) { .value("kSimplexStrategyMax", SimplexStrategy::kSimplexStrategyMax) .value("kSimplexStrategyNum", SimplexStrategy::kSimplexStrategyNum) .export_values(); - py::enum_(simplex_constants, "SimplexCrashStrategy") - .value("kSimplexCrashStrategyMin", SimplexCrashStrategy::kSimplexCrashStrategyMin) - .value("kSimplexCrashStrategyOff", SimplexCrashStrategy::kSimplexCrashStrategyOff) - .value("kSimplexCrashStrategyLtssfK", SimplexCrashStrategy::kSimplexCrashStrategyLtssfK) - .value("kSimplexCrashStrategyLtssf", SimplexCrashStrategy::kSimplexCrashStrategyLtssf) - .value("kSimplexCrashStrategyBixby", SimplexCrashStrategy::kSimplexCrashStrategyBixby) - .value("kSimplexCrashStrategyLtssfPri", SimplexCrashStrategy::kSimplexCrashStrategyLtssfPri) - .value("kSimplexCrashStrategyLtsfK", SimplexCrashStrategy::kSimplexCrashStrategyLtsfK) - .value("kSimplexCrashStrategyLtsfPri", SimplexCrashStrategy::kSimplexCrashStrategyLtsfPri) - .value("kSimplexCrashStrategyLtsf", SimplexCrashStrategy::kSimplexCrashStrategyLtsf) - .value("kSimplexCrashStrategyBixbyNoNonzeroColCosts", - SimplexCrashStrategy::kSimplexCrashStrategyBixbyNoNonzeroColCosts) - .value("kSimplexCrashStrategyBasic", SimplexCrashStrategy::kSimplexCrashStrategyBasic) - .value("kSimplexCrashStrategyTestSing", SimplexCrashStrategy::kSimplexCrashStrategyTestSing) - .value("kSimplexCrashStrategyMax", SimplexCrashStrategy::kSimplexCrashStrategyMax) - .export_values(); py::enum_(simplex_constants, "SimplexUnscaledSolutionStrategy") .value(