COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
01/11/05 18:15:46 (18 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1470
Message:

:-}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/lp/min_cost_gen_flow.h

    r1033 r1074  
    1515//#include <preflow_res.h>
    1616#include <work/marci/merge_node_graph_wrapper.h>
    17 #include <work/marci/lp/lp_solver_wrapper_2.h>
     17#include <work/marci/lp/lp_solver_wrapper_3.h>
    1818
    1919namespace lemon {
     
    229229        lp.setObjCoef(col_it, cost[e]);
    230230      }
     231      LPSolver::ColIt col_it;
     232      for (lp.col_iter_map.first(col_it, lp.VALID_CLASS);
     233           lp.col_iter_map.valid(col_it);
     234           lp.col_iter_map.next(col_it)) {
     235        std::cout << "ize " << lp.col_iter_map[col_it] << std::endl;
     236      }
    231237      for (typename Graph::NodeIt n(g); n!=INVALID; ++n) {
    232238        typename Graph::template EdgeMap<Num> coeffs(g, 0);
     
    245251        }
    246252        //std::cout << std::endl;
     253        std::cout << " " << g.id(n) << " " << row.size() << std::endl;
    247254        lp.setRowCoeffs(row_it, row.begin(), row.end());
    248255        lp.setRowBounds(row_it, LPX_FX, 0.0, 0.0);
Note: See TracChangeset for help on using the changeset viewer.