The conditions are: $w$ is a known value, and $x_{11} >0, x_{12}>0, ..., x_{nn}>0;$
\begin{equation} x_{11} \leq w \end{equation}
\begin{equation}x_{12} + x_{22} \leq w\end{equation}
\begin{equation}x_{13} + x_{23} + x_{33} \leq w\end{equation}
\begin{equation} ...\end{equation}
\begin{equation}x_{1n} + x_{2n} +... + x_{nn} \leq w\end{equation}
How can I choose $x_{ij}$ to minimize {R} and make these expressions be true?
\begin{equation} \frac{1}{x_{11}} + \frac{1}{x_{12}} + \frac{1}{x_{13}} + ... \frac{1}{x_{1n}} = R;\end{equation}
\begin{equation} \frac{1}{x_{22}} + \frac{1}{x_{23}} + ... \frac{1}{x_{2n}} = R;\end{equation}
\begin{equation}...\end{equation}
\begin{equation} \frac{1}{x_{nn}} = R;\end{equation}
The question is from a wire width issue:
In a rectangle (width is w) have n wires, length are 1, 2, 3, 4 ... n
I want they have same resistance, and the resistance is minimum. Their width can be changed in each step. So I need choose each line's width (x11, x12, ... ). I think a number computation way maybe can solve the problem, but have no idea about how to do it.

Thanks