Changeset 2605:852361980706 in lemon-0.x for lemon/lp_glpk.cc
- Timestamp:
- 04/08/08 18:01:28 (16 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3488
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_glpk.cc
r2591 r2605 90 90 LEMON_glp(get_col_ub)(glp.lp,i)); 91 91 } 92 rows = glp.rows; 93 cols = glp.cols; 92 94 } 93 95 … … 106 108 107 109 108 LpSolverBase &LpGlpk::_newLp()109 { 110 LpGlpk* newlp =new LpGlpk;111 return *newlp;110 LpSolverBase* LpGlpk::_newLp() 111 { 112 LpGlpk* newlp = new LpGlpk; 113 return newlp; 112 114 } 113 115 114 116 ///\e 115 117 116 LpSolverBase &LpGlpk::_copyLp()117 { 118 LpGlpk * newlp=new LpGlpk(*this);119 return *newlp;118 LpSolverBase* LpGlpk::_copyLp() 119 { 120 LpGlpk *newlp = new LpGlpk(*this); 121 return newlp; 120 122 } 121 123
Note: See TracChangeset
for help on using the changeset viewer.