Changeset 1405:3626c7f10f14 in lemon0.x for src/lemon/lp_base.h
 Timestamp:
 05/05/05 17:43:43 (16 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@1867
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/lemon/lp_base.h
r1397 r1405 432 432 virtual void _setColLowerBound(int i, Value value) = 0; 433 433 virtual void _setColUpperBound(int i, Value value) = 0; 434 virtual void _setRowLowerBound(int i, Value value) = 0;435 virtual void _setRowUpperBound(int i, Value value) = 0;434 // virtual void _setRowLowerBound(int i, Value value) = 0; 435 // virtual void _setRowUpperBound(int i, Value value) = 0; 436 436 virtual void _setRowBounds(int i, Value lower, Value upper) = 0; 437 437 virtual void _setObjCoeff(int i, Value obj_coef) = 0; … … 568 568 _setRowCoeffs(rows.floatingId(r.id),indices.size()1, 569 569 &indices[0],&values[0]); 570 _setRowLowerBound(rows.floatingId(r.id),le.constComp()); 571 _setRowUpperBound(rows.floatingId(r.id),ue.constComp()); 570 // _setRowLowerBound(rows.floatingId(r.id),le.constComp()); 571 // _setRowUpperBound(rows.floatingId(r.id),ue.constComp()); 572 _setRowBounds(rows.floatingId(r.id),le.constComp(),ue.constComp()); 572 573 } 573 574 … … 634 635 } 635 636 636 /// Set the lower bound of a row (i.e a constraint) 637 638 /// The lower bound of a linear expression (row) has to be given by an 639 /// extended number of type Value, i.e. a finite number of type 640 /// Value or \ref INF. 641 void rowLowerBound(Row r, Value value) { 642 _setRowLowerBound(rows.floatingId(r.id),value); 643 }; 644 /// Set the upper bound of a row (i.e a constraint) 645 646 /// The upper bound of a linear expression (row) has to be given by an 647 /// extended number of type Value, i.e. a finite number of type 648 /// Value or \ref INF. 649 void rowUpperBound(Row r, Value value) { 650 _setRowUpperBound(rows.floatingId(r.id),value); 651 }; 652 /// Set the lower and the upper bounds of a row (i.e a variable) 637 // /// Set the lower bound of a row (i.e a constraint) 638 639 // /// The lower bound of a linear expression (row) has to be given by an 640 // /// extended number of type Value, i.e. a finite number of type 641 // /// Value or \ref INF. 642 // void rowLowerBound(Row r, Value value) { 643 // _setRowLowerBound(rows.floatingId(r.id),value); 644 // }; 645 // /// Set the upper bound of a row (i.e a constraint) 646 647 // /// The upper bound of a linear expression (row) has to be given by an 648 // /// extended number of type Value, i.e. a finite number of type 649 // /// Value or \ref INF. 650 // void rowUpperBound(Row r, Value value) { 651 // _setRowUpperBound(rows.floatingId(r.id),value); 652 // }; 653 654 /// Set the lower and the upper bounds of a row (i.e a constraint) 653 655 654 656 /// The lower and the upper bounds of
Note: See TracChangeset
for help on using the changeset viewer.