equal
deleted
inserted
replaced
337 ///. |
337 ///. |
338 void setRowBounds(const RowIt& row_it, int bound_type, |
338 void setRowBounds(const RowIt& row_it, int bound_type, |
339 double lo, double up) { |
339 double lo, double up) { |
340 lpx_set_row_bnds(lp, row_iter_map[row_it], bound_type, lo, up); |
340 lpx_set_row_bnds(lp, row_iter_map[row_it], bound_type, lo, up); |
341 } |
341 } |
342 // void setObjCoef(const RowIt& row_it, double obj_coef) { |
342 ///. |
343 // lpx_set_obj_coef(lp, row_iter_map[row_it], obj_coef); |
343 void setObjCoef(const ColIt& col_it, double obj_coef) { |
344 // } |
344 lpx_set_obj_coef(lp, col_iter_map[col_it], obj_coef); |
|
345 } |
345 ///. |
346 ///. |
346 void solveSimplex() { lpx_simplex(lp); } |
347 void solveSimplex() { lpx_simplex(lp); } |
347 ///. |
348 ///. |
348 void solvePrimalSimplex() { lpx_simplex(lp); } |
349 void solvePrimalSimplex() { lpx_simplex(lp); } |
349 ///. |
350 ///. |