[PPL-devel] [GIT] ppl/ppl(sparse_matrices): MIP_Problem: little optimization in steepest_edge_float_entering_index().
Marco Poletti
poletti.marco at gmail.com
Thu Apr 15 07:38:31 CEST 2010
Module: ppl/ppl
Branch: sparse_matrices
Commit: 19cae9a791014e49edf103f1b3c7ec48eef06059
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=19cae9a791014e49edf103f1b3c7ec48eef06059
Author: Marco Poletti <poletti.marco at gmail.com>
Date: Thu Apr 15 07:28:05 2010 +0200
MIP_Problem: little optimization in steepest_edge_float_entering_index().
---
src/MIP_Problem.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/MIP_Problem.cc b/src/MIP_Problem.cc
index a7892fb..6d819cc 100644
--- a/src/MIP_Problem.cc
+++ b/src/MIP_Problem.cc
@@ -995,8 +995,8 @@ PPL::MIP_Problem::steepest_edge_float_entering_index() const {
if ((*j).first < tableau_num_columns_minus_1) {
const dimension_type j_index = (*j).first;
const Coefficient& cost_j = working_cost[j_index];
- const Coefficient& tableau_ij = (*j).second;
if (sgn(cost_j) == cost_sign) {
+ const Coefficient& tableau_ij = (*j).second;
WEIGHT_BEGIN();
if (tableau_ij != 0) {
PPL_ASSERT(tableau_i_base_i != 0);
More information about the PPL-devel
mailing list