K
krzys_28
I have an incredibly difficult travelling salesman problem to work out.
I need help writing a formula that will accomplish the following:
sum from row 1 to row ? until the sum does not exceed 1100, then star
summing from the next row until it does not exceed 1100, etc. Ideally
would like to assign a series number to each of those sets. For example
the first set of rows whose sum <=1100 would be assigned a '1', and the
the next set a '2', and so forth.
The attachment might help to illustrate. See the column in bold..
right now it is set up manually, but i need a formula i can copy dow
so when i optimize with solver it will all work out.
thanks-
I need help writing a formula that will accomplish the following:
sum from row 1 to row ? until the sum does not exceed 1100, then star
summing from the next row until it does not exceed 1100, etc. Ideally
would like to assign a series number to each of those sets. For example
the first set of rows whose sum <=1100 would be assigned a '1', and the
the next set a '2', and so forth.
The attachment might help to illustrate. See the column in bold..
right now it is set up manually, but i need a formula i can copy dow
so when i optimize with solver it will all work out.
thanks-