Given a connected (undirected) graph $G$ with vertex set $V$ of size at least $2$, we are allowed to put a real number $x_v$ on each $v\in V$. The constraint is that, for any $W\subseteq V$ such that the induced subgraphs on both $W$ and $V\setminus W$ are connected, $\displaystyle\left|\sum_{v\in W}x_v\right|\le 1$. We want to maximize $\displaystyle\sum_{v\in V} |x_v|$.
Is it true that there is a maximizing solution where all $x_v$'s are integers summing to $0$?
Examples: If $G$ is a path of length $n$, a maximum occurs at $(1,-2,2,-2,\dots,-2,1)$ if $n$ is odd, and $(1,-2,2,\dots,2,-1)$ if $n$ is even. If $G$ is a cycle of length $n$, a maximum occurs at $(1,-1,\dots,1,-1)$ if $n$ is even and $(1,-1,\dots,1,-1,0)$ if $n$ is odd.
The constraints and objective can be written as a linear program by taking out absolute values, and some linear programming facts may be useful.