Changes between Initial Version and Version 1 of Ticket #203
- Timestamp:
- 01/15/09 08:36:03 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #203 – Description
initial v1 1 1 A new function is requested in lp_base.h: 2 2 3 {{{ 3 4 virtual int _addRow(ConstRowIterator, ConstRowIterator, Value, Value) =0; 5 }}} 4 6 5 int this cae the following two function can be replaced in lp_base.h 6 1. 7 int this case the following two function can be replaced in {{{lp_base.h}}} 8 9 1. 10 11 {{{ 7 12 Row addRow(Value l,const Expr &e, Value u) { 8 13 Row r=addRow(); … … 10 15 return r; 11 16 } 17 }}} 12 18 by 19 {{{ 13 20 Row addRow(Value l,const Expr &e, Value u) { 14 21 Row r; … … 18 25 return r; 19 26 } 27 }}} 20 28 21 2. 29 2. 30 31 {{{ 22 32 Row addRow(const Constr &c) { 23 33 Row r=addRow(); … … 25 35 return r; 26 36 } 37 }}} 27 38 by 39 {{{ 28 40 Row addRow(const Constr &c) { 29 41 Row r=addRow(c.lowerBounded()?c.lowerBound():-INF, … … 31 43 return r; 32 44 } 45 }}} 33 46 34 For each solver a new int _addRow(ConstRowIterator, ConstRowIterator, Value, Value) function must be implemented (see also the attached files).47 For each solver a new {{{int _addRow(ConstRowIterator, ConstRowIterator, Value, Value)}}} function must be implemented (see also the [attachment:lemon_lp_mip.zip attached files]). 35 48