| 40 | } |
| 41 | |
| 42 | void PiecewiseLinearCaseSplit::dump( String &output ) const |
| 43 | { |
| 44 | output = String( "\nDumping piecewise linear case split\n" ); |
| 45 | output += String( "\tBounds are:\n" ); |
| 46 | for ( const auto &bound : _bounds ) |
| 47 | { |
| 48 | output += Stringf( "\t\tVariable: %u. New bound: %.2lf. Bound type: %s\n", |
| 49 | bound._variable, |
| 50 | bound._value, |
| 51 | bound._type == Tightening::LB ? "lower" : "upper" ); |
| 52 | } |
| 53 | |
| 54 | output += String( "\n\tEquations are:\n" ); |
| 55 | for ( const auto &equation : _equations ) |
| 56 | { |
| 57 | output += String( "\t\t" ); |
| 58 | equation.dump(); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | void PiecewiseLinearCaseSplit::dump() const |
| 63 | { |