Skip to content

Commit

Permalink
MAINT: Remove unused simplex_crash_strategy
Browse files Browse the repository at this point in the history
As noted by @jajhall, these no longer do anything within HiGHS [1]

[1] ERGO-Code/HiGHS#2005 (review)
  • Loading branch information
HaoZeke committed Nov 10, 2024
1 parent a83baea commit 71a5612
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scipy/optimize/_linprog_highs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
)
from ._highspy._core.simplex_constants import (
SimplexStrategy,
SimplexCrashStrategy,
SimplexEdgeWeightStrategy,
)
from scipy.sparse import csc_matrix, vstack, issparse
Expand Down Expand Up @@ -336,7 +335,6 @@ def _linprog_highs(lp, solver, time_limit=None, presolve=True,
'simplex_dual_edge_weight_strategy':
simplex_dual_edge_weight_strategy_enum,
'simplex_strategy': SimplexStrategy.kSimplexStrategyDual,
'simplex_crash_strategy': SimplexCrashStrategy.kSimplexCrashStrategyOff,
'ipm_iteration_limit': maxiter,
'simplex_iteration_limit': maxiter,
'mip_rel_gap': mip_rel_gap,
Expand Down

0 comments on commit 71a5612

Please sign in to comment.