I haven't gone through your spreadsheet thoroughly (how thoroughly do you need us to go through it for you?), but I think I can see the problem. There is something different about the calculation when it is called from column C than column B. My testing steps:
1) Put 1627 into B1.
2) Run Solver on column B
3) Result maximum looks similar to 1628
1627
alpha 0.875877066
beta 0.828953298
gamma 0.802503139
delta 3.217015364
B(alpha,beta) 1.357
B(gamma,delta) 0.466
LL -2374.8
4) Put 1628 into C1 and copy alpha-delta values for 1628 into C2:C5
5) I note that the LL value in C8 is not the same as B8 was when these same values were in B2:B5 -- I have not decomposed the entire calculations, but the calculation string from C2:C5 back to LL in C8 is not the same as it is for column B.
One of the challenges when I come into the middle of a large development project like this is that I don't know all that went into the project, nor do I understand all of the formulas along the way. I do note that column J's formulas have some fixed references to column B where I might have expected to see additional lookup functions -- could it be that simple?
Since column B seems to work correctly, I would be tempted to structure the loop differently. Instead of having several columns that are optimized, use the existing column B, and loop through the different input values in B1
If it is an advantage, one possible advantage is that you should not need to modify the Solver model at all throughout the loop, simply change B1 and run the existing Solver model.
Bookmarks