dev(lp): improve the dual perormance

Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
This commit is contained in:
Lev Nachmanson 2016-02-02 09:35:04 -08:00 committed by Leonardo de Moura
parent 9482d508df
commit 61eaef0183

View file

@ -214,7 +214,7 @@ template <typename T, typename X> void lp_dual_core_solver<T, X>::pricing_loop(u
if (++i == this->m_m) {
i = 0;
}
} while (i != initial_offset_in_rows && (rows_left || steepest_edge_max < T(1e-5)));
} while (i != initial_offset_in_rows && rows_left);
if (m_r == -1) {
if (this->m_status != UNSTABLE) {
this->m_status = OPTIMAL;