ORMSwareTM is a proprietary quantitative modeling and programming system developed by US Army veteran Reginald Joules at Ushar Enterprises Inc, Littleton, Colorado, USA, with keen interest in national defense problems |
● Home ● Modeling Examples ● Programming Examples ● Contact Us ● |
In this small example TSP, we would like to consider the following:
We extended the previous model for generating sequences to accommodate the above requirements. This formulation can, of course, be easily changed to accommodate a combination of solution strategies such as simple branch-and-bound, to reduce computational load as follows:
In the simple approach presented here, we allow surrogates to pursue all possible sequences simultaneously and stop execution when the top N surrogates get back to origin (where N can be 1 through n!, n being the number of nodes in the problem). How much memory and computing time will be required to solve a problem this way depends on the relative magnitudes of the performance measures of the sequences. The lesser the difference, the more memory and time will be required. Also, as more sequences-eliminating constraints are added to solve a problem, time and memory required to solve it will be less. When sequences are examined using branch-and-bound, one at a time, relatively less memory is required as very few surrogates will be in the system simultaneously.
If it is not already open, click here to open a window showing the previous (Permutations) model. Click the VSD link below to see how we extended the Permutations model to accommodate distance, time and costs in this Salesman model as follows:
The surrogate that reaches n[5] first will have traveled the minimum cost route. In the spreadsheet shown above, we can set the number of top alternatives to record. In the Results file at the link below, you can see the top 10 tours. VSD
file: Image of Visio network file
describing the model.
|
Click to go to summaries of all examples |