Hello Excel Experts
I have a problem concerning the excel solver, I was hoping you could help me with.
I am trying to do an optimization of a problem, where I wish to find the minimum value of a cell with a set of changeable variables. The variables can take on any values, but must all sum to 1. I have the following problems concerning constraints:
1) I wish to set the following constraint for each of the variables:
x(i) = "0" or x(i) > 5% or x(i) < -5%. Meaning that each variable should be unable to take on values between -5% and 5% (excluding "0").
2) I wish to add a constraint that sets a maximum number of variables "in use", meaning that e.g. a maximum of 4 out of the total set can take on values other than "0".
Best Regards
WhamBam
Bookmarks