MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / setSimplexOptions

Method setSimplexOptions

highs/simplex/HEkk.cpp:1623–1643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1621}
1622
1623void HEkk::setSimplexOptions() {
1624 // Copy values of HighsOptions for the simplex solver
1625 // Currently most of these options are straight copies, but they
1626 // will become valuable when "choose" becomes a HiGHS strategy value
1627 // that will need converting into a specific simplex strategy value.
1628 //
1629 // NB simplex_strategy is set by chooseSimplexStrategyThreads in each call
1630 //
1631 info_.dual_edge_weight_strategy = options_->simplex_dual_edge_weight_strategy;
1632 info_.price_strategy = options_->simplex_price_strategy;
1633 info_.dual_simplex_cost_perturbation_multiplier =
1634 options_->dual_simplex_cost_perturbation_multiplier;
1635 info_.primal_simplex_bound_perturbation_multiplier =
1636 options_->primal_simplex_bound_perturbation_multiplier;
1637 info_.factor_pivot_threshold = options_->factor_pivot_threshold;
1638 info_.update_limit = options_->simplex_update_limit;
1639 random_.initialise(options_->random_seed);
1640
1641 // Set values of internal options
1642 info_.store_squared_primal_infeasibility = true;
1643}
1644
1645void HEkk::updateSimplexOptions() {
1646 // Update some simplex option values from HighsOptions when

Callers

nothing calls this directly

Calls 1

initialiseMethod · 0.45

Tested by

no test coverage detected