First, let's solve the inequalities manually:
For a:
Given −13<7a+1<29,
we solve for a:
Subtracting 1 from all parts: −14<7a<28
Dividing by 7 : −2<a<4
a can take any value in the interval (−2,4), the max value of a, since it doesn't need to be an integer is something like 3.99999
For b:
Given 19<2−b<23,
we solve for b:
Subtracting 2 from all parts : 17<−b<21
Multiplying by −1(and flipping the inequalities): −21<b<−17
b can take any value in the interval (−21,-17),the max value of b, since it doesn't need to be an integer is something like -17.00000001
the maximum possible integer value of a + b= (a max) +(b max)
=(3.99999)+(-17.00000001)
=-13.00000001
Therefore, without the integers constraint, the maximum possible value of (a+b) can get infinitely close to −13 but cannot reach it and will always be slightly smaller.
Hence answer will be the next max available integer, -14.
We could also reach this conclusion by adding the 2 inequalities,(−2<a<4) and (−21<b<−17), giving us the combined range as
Add the left sides of the inequalities (−2)+(−21)=−23
Add the right sides of the inequalities :4+(−17)=−13
This gives us a combined inequality :−23<a+b<−13
Again the answer is clear as the max integer value possible for the sum is -14.