Share via

Solver ignoring constraints

Anonymous
2014-08-28T15:00:52+00:00

Excel 2010 Solver is ignoring constraints. I have a constraint for a range of cells  "$E$13:$AE$13>=.000001". When I run Solver, it always ends up with one of the cells in this range being 0 or negative. I'm using "GRG Nonlinear", and have tested changing all the parameters for this option to no avail. Is this a problem others have seen or did I find the bug?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2014-08-28T17:07:48+00:00

    If you wish: go to my website to get my email address and send me a sample file.

    best wishes

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-08-28T16:04:35+00:00

    I have adjusted the Constraint precision, and it makes no difference. The latest test had one of the values = -0.25350314825798, which is orders of magnitude greater than the constraint precision. I have clicked "Make Unconstrained Variables Non-Negative" on and off. I have clicked "Ignore Integer Constraints" on and off. I have clicked "Use Automatic Scaling" on and off. This problem has been repeated on several machines running Excel 2010.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-08-28T15:54:34+00:00

    To give a goo answer we would need to see the worksheet. Can you put a sample workbook on a fileshare site (OneDive, Dropbox...)

    Best I can do without seeing you set up: have you looked in the Solver Options to we what you Constraint precision is set to?

    Was this answer helpful?

    0 comments No comments