| 54 | } |
| 55 | |
| 56 | void InputQuery::setLowerBound( unsigned variable, double bound ) |
| 57 | { |
| 58 | if ( variable >= _numberOfVariables ) |
| 59 | { |
| 60 | throw MarabouError( MarabouError::VARIABLE_INDEX_OUT_OF_RANGE, |
| 61 | Stringf( "Variable = %u, number of variables = %u (setLowerBound)", |
| 62 | variable, |
| 63 | _numberOfVariables ) |
| 64 | .ascii() ); |
| 65 | } |
| 66 | |
| 67 | _lowerBounds[variable] = bound; |
| 68 | } |
| 69 | |
| 70 | void InputQuery::setUpperBound( unsigned variable, double bound ) |
| 71 | { |