Tuesday, June 28, 2011

Resolved Google Docs solver issue

Well it seems the Solver in Google Docs spreadsheet can produce the same answer as Excel.
The issue comes down to how you enter the constraints. Excel can enter constraints as a range: $E$3:$E$7 <= $G$3:$G$7 but in Google Docs Spreadsheet, a range can not be used. Each constraining pair must be entered as a separate constraint.
Hence
E3 <= G3
E4 <= G4
E5 <= G5
E6 <= G6
E7 <= G7

So as I make my way through the book and try the examples in both Excel and Google Docs, I am sure I will find other issues.

No comments:

Post a Comment