[PPL-devel] [GIT] ppl/ppl(sparse_matrices): MIP_Problem: add comment.
Marco Poletti
poletti.marco at gmail.com
Wed Sep 15 11:49:09 CEST 2010
Module: ppl/ppl
Branch: sparse_matrices
Commit: 02cc3ed26b0cebcc016573421b0a525e76ae8d1d
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=02cc3ed26b0cebcc016573421b0a525e76ae8d1d
Author: Marco Poletti <poletti.marco at gmail.com>
Date: Wed Sep 15 11:44:24 2010 +0200
MIP_Problem: add comment.
---
src/MIP_Problem.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/MIP_Problem.cc b/src/MIP_Problem.cc
index b27e021..27c3c61 100644
--- a/src/MIP_Problem.cc
+++ b/src/MIP_Problem.cc
@@ -1754,6 +1754,7 @@ PPL::MIP_Problem::erase_artificials(const dimension_type begin_artificials,
{
// This block is equivalent to:
// working_cost[new_last_column] = working_cost.get(old_last_column);
+ // But it avoids storing zeroes.
Coefficient_traits::const_reference old_cost
= working_cost.get(old_last_column);
More information about the PPL-devel
mailing list