Share via

Solver binary but when getting the result is decimal, is it bug?

mobs monster 20 Reputation points
2026-03-31T10:33:10.36+00:00

im using solver tools, after that solver parameter panel appear, i do that code or array in subject to the constraint "$E$10:$E$13 = binary" but the result after i press solve is 0,4 in array E10. so is it bug or something i dont know (very newbie to this). thank you for anyone want to helpJepretan Layar 2026-03-31 pukul 17.25.24

Microsoft 365 and Office | Excel | For education | MacOS
0 comments No comments

Answer accepted by question author and recommended by moderator

  1. Bablu Bhai 105 Reputation points
    2026-03-31T10:35:22.0333333+00:00

    Hi,

    This is not a bug. It usually happens when the Solver is not strictly enforcing the binary constraint due to the solving method or model setup. Even though you set the cells as binary, getting a value like 0.4 means Solver is treating the problem as a relaxed (continuous) model.

    Make sure you are using the Simplex LP method with all constraints correctly defined, and double-check that the “Make Unconstrained Variables Non-Negative” option is enabled. Also, try re-adding the binary constraint or switching to the Evolutionary method to enforce integer/binary results more strictly.

    In short, it’s a configuration issue, not a bug.

    Was this answer helpful?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.