COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
09/20/04 11:05:19 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1196
Message:
 
File:
1 edited

Legend:

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

    r768 r888  
    340340      lpx_set_row_bnds(lp, row_iter_map[row_it], bound_type, lo, up);
    341341    }
    342 //   void setObjCoef(const RowIt& row_it, double obj_coef) {
    343 //     lpx_set_obj_coef(lp, row_iter_map[row_it], obj_coef);
    344 //   }
     342    ///.
     343    void setObjCoef(const ColIt& col_it, double obj_coef) {
     344      lpx_set_obj_coef(lp, col_iter_map[col_it], obj_coef);
     345    }
    345346    ///.
    346347    void solveSimplex() { lpx_simplex(lp); }
Note: See TracChangeset for help on using the changeset viewer.