glop: update
This commit is contained in:
@@ -177,6 +177,7 @@ ProblemStatus LPSolver::SolveWithTimeLimit(const LinearProgram& lp,
|
||||
SOLVER_LOG(&logger_, "Initial problem: ", lp.GetDimensionString());
|
||||
SOLVER_LOG(&logger_, "Objective stats: ", lp.GetObjectiveStatsString());
|
||||
SOLVER_LOG(&logger_, "Bounds stats: ", lp.GetBoundsStatsString());
|
||||
SOLVER_LOG(&logger_, "Parameters: ", parameters_.ShortDebugString());
|
||||
}
|
||||
|
||||
// Check some preconditions.
|
||||
|
||||
@@ -532,6 +532,10 @@ void PrimalPrices::UpdateBeforeBasisPivot(ColIndex entering_col,
|
||||
// given by the update_row.
|
||||
UpdateEnteringCandidates</*from_clean_state=*/false>(
|
||||
update_row->GetNonZeroPositions());
|
||||
|
||||
// This should be redundant with the call above, except in degenerate
|
||||
// cases where the update_row has a zero position on the entering col!
|
||||
prices_.Remove(entering_col);
|
||||
}
|
||||
|
||||
void PrimalPrices::RecomputePriceAt(ColIndex col) {
|
||||
|
||||
Reference in New Issue
Block a user