Excel Solver not obeying binary constraint

Shaggy Frog picture Shaggy Frog · Aug 25, 2009 · Viewed 44.8k times · Source

I created a model in Excel to use in conjunction with Solver. It mostly works. The only problem is that Solver is not really treating the cells constrained as binary properly. When it's done finding a solution, some of the numbers are actually 0.9999996, 1.0000000003, 0.0000017, and so on.

I am using Excel 2004 on Mac OS X. Any ideas?

Answer

thomas picture thomas · Feb 1, 2011

If the binary values are far from 0 or 1, you might have to go to options in the Solver window and check if the box "Ignore integer constraints is checked".