ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula for Solver (https://www.excelbanter.com/excel-worksheet-functions/156476-formula-solver.html)

eland

Formula for Solver
 
In Solver, I have a column of changing cells, only binary values allowed,
representing three product types A, B and C with multiple cells assigned to
each type. The column sum limit is 4.

If a single cell from Type A or B is filled with 1, then all other cells
must be 0. There can be up to three 3 entries in the type C cells.

Summary of Column Sum States: 0 in all cells; 1 in a single cell; 2 or more
(must be entries in Type C cells only)

How do I write the constraint for this?

eland

Formula for Solver
 
Correction - the column sum limit is three (3).

"eland" wrote:

In Solver, I have a column of changing cells, only binary values allowed,
representing three product types A, B and C with multiple cells assigned to
each type. The column sum limit is 4.

If a single cell from Type A or B is filled with 1, then all other cells
must be 0. There can be up to three 3 entries in the type C cells.

Summary of Column Sum States: 0 in all cells; 1 in a single cell; 2 or more
(must be entries in Type C cells only)

How do I write the constraint for this?



All times are GMT +1. The time now is 05:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com