LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
krzys_28
 
Posts: n/a
Default Desperate for help in travelling salesman problem!


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 start
summing from the next row until it does not exceed 1100, etc. Ideally I
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 then
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 down
so when i optimize with solver it will all work out.

thanks-
k


--
krzys_28
------------------------------------------------------------------------
krzys_28's Profile: http://www.excelforum.com/member.php...o&userid=33759
View this thread: http://www.excelforum.com/showthread...hreadid=535325

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DESPERATE FOR HELP ON THIS PROBLEM...please JackR Excel Discussion (Misc queries) 2 March 16th 06 09:08 PM
How can the Travelling Salesman Problem be solved using Solver Ad. andrei665 Excel Discussion (Misc queries) 3 April 16th 05 04:09 AM


All times are GMT +1. The time now is 05:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"