equal
deleted
inserted
replaced
66 int i=lpx_add_rows(lp, 1); |
66 int i=lpx_add_rows(lp, 1); |
67 return i; |
67 return i; |
68 } |
68 } |
69 |
69 |
70 |
70 |
|
71 void LpGlpk::_eraseCol(int i) { |
|
72 int cols[2]; |
|
73 cols[1]=i; |
|
74 lpx_del_cols(lp, 1, cols); |
|
75 } |
|
76 |
|
77 void LpGlpk::_eraseRow(int i) { |
|
78 int rows[2]; |
|
79 rows[1]=i; |
|
80 lpx_del_rows(lp, 1, rows); |
|
81 } |
|
82 |
71 void LpGlpk::_setRowCoeffs(int i, |
83 void LpGlpk::_setRowCoeffs(int i, |
72 int length, |
84 int length, |
73 const int * indices, |
85 const int * indices, |
74 const Value * values ) |
86 const Value * values ) |
75 { |
87 { |