
Originally Posted by
MrShorty
My older version does not have the evolutionary algorithm, so I can't test that.
One observation, in the "respective number of trucks sent from factories to distributors" section, you are using a ROUNDUP() function. Rounding functions tend to create stepwise objective functions, which create problems for algorithms like these that look at how incremental changes in the "by changing cells" effect the target cell. As an example, I need to change the 1000 in b24 by almost 100 either direction to get any change in the target cell. My first suggestion might be to eliminate the roundup function and optimize using "raw" numbers. You can add a roundup() function after you've found the optimum.
As many variables as you have for this problem, it is not surprising to realize that there are many possible "minima" in the target function cell. Finding the smallest minimum is dependent on what you give the problem as your "initial guesses" (the values in the by changing cells before you call Solver). A lot of people do not appreciate how important it can be to give Solver's algorithms good initial guesses in order to get the correct answer. I don't know of any "magic formulas" for picking good initial guesses. You may need to resort to some trial and error like you are already doing until you can convince yourself that you have found the absolute minimum. You might also look over the model and see if there is a better way of formulating the objective function to make it easier for Solver to find the overall minimum. (If it helps, if I put 0 in for all of the by changing cells, I can converge on your manually discovered solution consistently).
In summary, I don't see any easy answers to this.
Bookmarks